npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@abtnode/blocklet-services

v1.16.36

Published

Provide unified services for every blocklet

Downloads

6,000

Readme

Blocklet Services

Provides out-of-the-box services for blocklets.

Should run under Server Gateway (e.g. nginx).

Usage

yarn add @abtnode/blocklet-service

Then:

const createServer = require('@abtnode/blocklet-services');
const ABTNode = require('@abtnode/core');

const node = ABTNode({ ...nodeOptions });

node.onReady(() => {
  const server = createServer(node);

  server.listen(5000, '127.0.0.1', async (err) => {
    if (err) throw err;

    console.log(`> Blocklet Service ready on 5000`);
  });
});

Service API

Public

Web

  • /.well-known/service/lost-passport
  • /.well-known/service/login
  • /.well-known/service/admin/
  • /.well-known/service/blocklet/logo

API

  • /.well-known/service/health
  • /.well-known/service/api/did/session

Internal

Web

  • /.well-known/service/issue-passport
  • /.well-known/service/invite
  • /.well-known/service/start
  • /.well-known/service/setup
  • /.well-known/service/user/avatar/:fileName
  • /.well-known/service/studio/home
  • /.well-known/service/studio/preferences
  • /.well-known/service/studio/localization
  • /.well-known/service/hosted/form-builder
  • /.well-known/service/hosted/form-collector

API

  • /.well-known/service/api/passport/status

  • /.well-known/service/api/send-to-user

  • /.well-known/service/api/send-to-app-channel

  • /.well-known/service/api/blocklet/detail

  • /.well-known/service/api/blocklet/start

  • /.well-known/service/api/blocklet/meta

  • **/api/env

  • /.well-known/service/api/gql

  • /.well-known/service/api/dns-resolve

  • /.well-known/service/api/invitation

  • /.well-known/service/api/studio/preferences

DID Connect

  • /api/connect/relay/login/connect

  • /api/connect/relay/login/approve

  • /api/connect/relay/switch-profile/connect

  • /api/connect/relay/switch-profile/approve

  • /api/connect/relay/switch-passport/connect

  • /api/connect/relay/switch-passport/approve

  • /api/did/login

  • /api/did/invite

  • /api/did/issue-passport

  • /api/did/lost-passport-list

  • /api/did/lost-passport-issue

  • /api/did/pre-setup

  • /api/did/setup

  • /api/did/switch-profile

  • /api/did/switch-passport

  • /api/did/fuel

Websocket

  • /api/connect/relay/websocket
  • /websocket
  • /admin/websocket

Working with ux repo hmr

Add ARCBLOCK_UX_BASE_PATH equals to your ux repo path in .env.development file

ARCBLOCK_UX_BASE_PATH="/Users/xxx/arcblock/ux"

Then, you can change ux repo src code to see hmr effect in blocklet-server services app