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

publication-igid

v1.0.10

Published

Authorization gateway relying on an auth service for providing user editing interfaces

Downloads

4

Readme

Publication Transition Service

This package takes care of managing the state of media.

Here, the media finds its way into the storage through an upload service. The upload service may allow uploads that are sanctioned my the publication service. The upload service may also update, remove, or send to downstream publication and streaming services when the publication transition service demands these transitions.

Besides handling publicatio processes, this publication service provides introductory negotiations with an uploader service. This service handles the first stages of authentication and causes an uploader to create an entry with a token key. Authrozed clients may use the token to finalize the uploader processes by sending media to servers.

Web Service

This is a copious-transititions web servce.

It is also a WebSocket or IPC client to an uploading service.

Web clients, primary web clients, send a request for media uploading to this service. This service manages the session with the web service along with any crypto keys necessary for data submission. This service forwards the upload request (a transition) to the a chosen upload service as a primary transition. This service fields the response that carries a transition token needed for keying a secondary transition.

Secondary web clients may complete the transition with some of the response data provided by the primary web client. The secondary request, containing the transition token may decrypt permission token provided by the primary web service, where the primary web service received those permission tokens from this server, the pulication transition service.

This service provides encrypted session information to a secondary web client and to the uploader.

Uploader Client

This service uses its connection with the uploader service to perform primary transitions API calls. These are the same API responders that the uploader exposes to the web, but communication is not carried on HTTP.

The primary transition leaves the uploader with a transition object waiting for a secondary action. The transition object is keyed off of its transition token. Uploaders may examine signed data and perform verification on signatures prior to allowing data to pass through.

This service, the publication transition service, may be a client to one or more upload services. Some of the services may take modes sized data, e.g. stringified objects that can be carried in a single HTTP packet. Or, the services may expect multi-part MIME data with storage negotiated via a repository bridge.