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

kuzdoc

v2.7.0

Published

The CLI that helps build the Kuzzle Docs

Downloads

696

Readme

kuzdoc

The CLI that helps build the Kuzzle Docs.

This is an internal tool used by the Kuzzle team to build the documentation of all the Kuzzle.io projects.

oclif Version Downloads/week License

Usage

$ npm install -g kuzdoc
$ kuzdoc COMMAND
running command...
$ kuzdoc (-v|--version|version)
kuzdoc/2.7.0 linux-x64 node-v20.17.0
$ kuzdoc --help [COMMAND]
USAGE
  $ kuzdoc COMMAND
...

Commands

kuzdoc add-repo

Wizard to add a new repo to repositories.json.

USAGE
  $ kuzdoc add-repo

OPTIONS
  -h, --help  show CLI help

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

See code: src/commands/add-repo.ts

kuzdoc add-section

Wizard to add a new section in src/.vuepress/sections.json.

USAGE
  $ kuzdoc add-section

OPTIONS
  -h, --help  show CLI help

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

See code: src/commands/add-section.ts

kuzdoc build-and-deploy

Builds and deploys one or more repositories.

USAGE
  $ kuzdoc build-and-deploy

OPTIONS
  -h, --help                   show CLI help

  --cloudfrontId=cloudfrontId  (required) The name of the Cloudfront distribution to invalidate after deploying each
                               repo.

                               Environment variable: $KUZDOC_CLOUDFRONT_ID

  --dryRun                     Only builds the repo without deploying it

  --noInvalidation             Do not invalidate the Cloudfront distribution

  --repo=repo                  The list of repositories to build, or the value __ALL__ to build all repos.
                               If not specified, kuzdoc will ask a prompt.

                               Environment variable: $KUZDOC_REPO

  --s3Bucket=s3Bucket          (required) The name of the S3 bucket to upload the repos to.

                               Environment variable: $KUZDOC_S3_BUCKET

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

  The repositories must be previously installed in the framework via the "install" command.
  The repositories to be built can be specified via the --repo flag, the KUZDOC_REPO environment
  variable, or via the interactive prompt (only the installed repositories are listed).
  The built repositories are deployed to the S3 bucket specified via the --s3Bucket flag,
  then the Cloudfront cache (specified via --cloufrtontId) is invalidated.
  This command needs the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables to
  be properly set.

See code: src/commands/build-and-deploy.ts

kuzdoc dead-links

Scans a given repo for dead-links and reports them.

USAGE
  $ kuzdoc dead-links

OPTIONS
  -h, --help                    show CLI help

  --dumpReport=dumpReport       The name of the JSON file to write the report to.
                                If not set, report will be only written to stdout.

  --linkType=external|internal  The link type to check.
                                If empty, both external and internal links are checked.

  --repo=repo                   The name of repository to scan. If not specified, kuzdoc will ask a prompt.

                                Environment variable: $KUZDOC_REPO

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

  The repository must be previously installed in the framework via the "install" command.

See code: src/commands/dead-links.ts

kuzdoc dev

Launches the dev server for the documentation of a repo.

USAGE
  $ kuzdoc dev

OPTIONS
  -h, --help   show CLI help

  --repo=repo  The name of repository to scan. If not specified, kuzdoc will ask a prompt.

               Environment variable: $KUZDOC_REPO

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

  The repository must be previously installed in the framework via the "install" command.
  The repository can be specified via the --repo flag, the KUZDOC_REPO environment
  variable, or via the interactive prompt (only the installed repositories are listed).

See code: src/commands/dev.ts

kuzdoc generate:js FILEPATH

Generate the documentation of a class written in Typescript.

USAGE
  $ kuzdoc generate:js FILEPATH

ARGUMENTS
  FILEPATH  File containing the class to generate the doc

OPTIONS
  -h, --help   show CLI help
  --path=path  [default: generated] Directory to write the doc

See code: src/commands/generate/js.ts

kuzdoc help [COMMAND]

display help for kuzdoc

USAGE
  $ kuzdoc help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

kuzdoc install

Installs one or multiple repos in the framework meta-repo.

USAGE
  $ kuzdoc install

OPTIONS
  -h, --help               show CLI help

  --localPath=localPath    Installs the repo from a local path instead of cloning it from Github. Handy for testing
                           locally developed features.
                           This option is valid if only 1 repo is specified. Overrides --repoBranch.

                           Environment variable: $KUZDOC_LOCAL_PATH

  --repo=repo              The list of repositories to install, or the value __ALL__ to install all repos.
                           If not specified, kuzdoc will ask a prompt.

                           Environment variable: $KUZDOC_REPO

  --repoBranch=repoBranch  The branch to checkout from the repo to install.
                           This option is valid if only 1 repo is specified.

                           Environment variable: $KUZDOC_REPO_BRANCH

  --stage=stable|dev       The branch type to checkout.
                           If this option is not specified, kuzdoc will try to infer it based on the current branch of
                           the framework meta-repo.

                           Environment variable: $KUZDOC_STAGE

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

  This command will install one or multiple repos, listed in the repositories.json file,
  within the .repos directory of the documentation framework.
  Repositories will be either cloned from Github or symlink-ed from the local filesystem (--local-path flag).
  The repositories.json file will be fetched from the local instance of the documentation framework.
  Repositories are either specified via the --repo flag, or the KUZDOC_REPO: if no value is specified,
  kuzdoc will ask it via a prompt.
  Kuzdoc will not overwrite existing repositories. If a folder with the same name of a selected
  repository is already present, the selected repository will be skipped and the folder will be left untouched.

See code: src/commands/install.ts

kuzdoc local-deploy

Creates a local deploy of the docs containing the currently installed repos

USAGE
  $ kuzdoc local-deploy

OPTIONS
  -h, --help                 show CLI help
  --destination=destination  [default: /tmp/kuzzle-docs] The path to the locally deployed docs

DESCRIPTION
  NOTE: This command must be executed from the root of the framework meta-repo.

  The repositories must be previously installed in the framework via the "install" command.
  All the currently installed repositories will be built and deployed to the destination path.

See code: src/commands/local-deploy.ts