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

dll-cli

v0.7.4

Published

A CLI tool for Digital Law Lab providing necessary DA package management functionalities for testing (i.e. pushing to Docassemble's playground) and other purposes

Downloads

1

Readme

A next-generation CLI for pushing/pulling packages to Docassemble Playground

🚀 Features

  • Cross-platform

  • Cross-shell

  • global (or per package) configuration file

  • prompt-based (politely asks for required data)

  • Elegant

🚩 Prerequisite

🚠 Usage

Once you have installed the prerequisite above, you will have two options for using dll-cli: Offline, or Online.

🌚 Offline

Offline allows you to invoke the CLI faster, but you need to download it to your PC either globally or locally.

If installing local make sure you cd to the root folder of your DA packages. Then you can run the command only in that folder.

If you install globally you can run the command anywhere, in your terminal.

# globally
npm install -g dll-cli

# locally
npm install -D dll-cli

:sun_with_face: Online

Using the tool online is easier, but you will have to temporarily download it every time you want to use it. While this means you always have the latest version, it also means longer wait.

To use the tool "online" just prefix the command with npx.

# Online
npx dll-cli

:muscle: Configuration

The tool looks for a file named dll.config.json in the dll-config folder in the current working directory (the directory where you execute the command). This allows you to have a global config for all packages, or a local one inside each package.

The config file contains information (such api key, and endpoint) which is needed to push you packages to the right remote playground and ensure proper authentication.

You can of course manually write your config file. However, when you run the tool in a directory that is not configured you will be given the option to have the tool create a config file for you. Like in the example below.