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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@grame/faustpublisher

v1.1.3

Published

Publish libraries to the official Faust registry

Readme

Faust Publisher CLI Documentation

Overview

The Faust Publisher CLI simplifies the process of publishing Faust packages to the Faust Registry. It automates the workflow, making it easy for contributors to share their libraries with the community.

How to Contribute Packages to the Faust Public Registry

The Faust community, being small due to Faust's domain-specific nature, requires a simple publishing workflow. This is facilitated by the faustpublisher CLI tool.

Prerequisites:

  • Faust with Package Support: Ensure Faust is installed with package support.
  • npm (Node Package Manager): Required to install the faustpublisher CLI tool.

Installing the Publisher:

Install faustpublisher globally using npm:

npm install -g @grame/faustpublisher

Logging In:

Authenticate before publishing:

faustpublisher login
  • If you're already logged in, you'll receive a notification.
  • If not, follow the provided link and code for authorization.

Publishing a Library:

To publish your library, use:

faustpublisher publish <github_repo_link>

Repository Requirements for Successful Publishing:

  • Collaborator Status: You must be a collaborator of the repository.

  • Repository Name: Must match the library name and end with .lib.

  • Library Location: The library file should be in the root of the repository.

  • Entry Point: The library must have an entry point named <library_name>_test for syntax testing. Example:

    // filename: mylibrary.lib
    
    // Definitions and functions for the library
    
    mylibrary_test = _;
  • Versioning: Ensure the version is updated if republishing.

Publishing Structure:

The library will be published under your GitHub username in the registry, following this structure:

username
    libraryname
        version
            libraryname

First-Time Publishing:

If you're not yet a collaborator, follow these additional steps:

  1. Prepare Your Library: Ensure it meets repository requirements and is manually prepared.
  2. Fork the Registry Repository: Fork and clone the Faust registry repository on GitHub.
  3. Add Your Library: Create a directory in your forked repository with the structure username/libraryname/version/ and place your library file in it.
  4. Submit a Pull Request: Commit, push, and create a pull request to the original registry repository.
  5. Review Process: Wait for review, address feedback, and await approval.
  6. Becoming a Collaborator: Once approved, you'll be invited to become a collaborator, allowing direct publishing.
  7. Publishing Future Libraries: As a collaborator, use the faustpublisher tool for direct publishing.

Commands:

faustpublisher login

Logs you into your GitHub account.

USAGE
  $ faustpublisher login

DESCRIPTION
  Login to your GitHub account

EXAMPLES
  $ faustpublisher login

faustpublisher publish GITHUB_LINK

Publishes your libraries to the Faust Registry.

USAGE
  $ faustpublisher publish LINK

ARGUMENTS
  LINK  GITHUB Repository link containing the Faust library to publish

EXAMPLES
  $ faustpublisher publish https://github.com/shehab299/oscillators.lib

Building the tool

npm install

npm run build

npm link

or

npm run install-local

Publishing New Version

npm install 
npm run build
npm update

The package.json has to be updated (like the version key), then:

npm login 
npm publish