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 🙏

© 2026 – Pkg Stats / Ryan Hefner

nulls-scripting-cli

v0.2.0

Published

CLI for Null's Brawl scripting development

Readme

nulls-scripting-cli

CLI for Null's Brawl scripting.

Requirements

Node.js 22.22.2 or newer.

Device features are optional and need adb, see Device setup.

Install

npm install -g nulls-scripting-cli
nbs --help

Quick start

# Create a script, nbsproject.toml, and optionally a device config
nbs init

# Upload the configured script and reload it on the device
nbs content set --watch --open

Commands

nbs init                    # create the project config and optional device setup
nbs list                    # browse scripts
nbs whoami                  # show the current account
nbs content get --id "My Script"
nbs content set --id "My Script" --path ./script.luau
nbs content set --watch --open
nbs sync                    # apply name and description from the config
nbs parameters              # configure script parameters
nbs publish                 # publish the configured draft
nbs logout

Global flags:

  • -p, --project <path> - load a specific config file.
  • --id <uuid|name> - target script.
  • --path <file> - target script file.

Configuration

nbsproject.toml holds the project properties. .nbsrc holds local device settings. Both are searched in the project root and .config/. TOML, JSON and JavaScript are supported. Extensionless files such as .nbsrc are read as TOML. package.json can also hold config in its nbs field.

Example nbsproject.toml:

name = "My Script"
id = "01a1cfd5-0965-7d0a-8103-530b00a684a4"
description = "A sample script that demonstrates the project config"

path = "./script.luau"

[[parameters]]
name = "enableChat"
value = true
  • id - script UUID. A name passed with --id is resolved through the API.
  • path - script file, relative to the config file.
  • parameters - friendly battle parameter overrides.
  • process.adb - device settings, see below.

See examples/hello_wolrd for a complete project.

Device setup

Device features are optional. nbs init sets them up automatically: choose MuMuPlayer or Manual. For MuMuPlayer, the CLI finds the installation, lists instances, launches the selected one, reads its adb host and port, and writes .nbsrc. To change device settings later, run nbs init --device.

nbs uses adb from PATH. If it is not found there, it looks in the same folder as process.adb.command. If adb is missing, install Android Platform Tools and add it to PATH.

The CLI was tested with MuMu Player 12 on Windows. MuMuManager.exe is in the MuMu install directory, usually nx_main\ or shell\. The main instance normally uses port 16384; additional instances add 32 (16416, 16448, ...).

Find the adb port:

MuMuManager.exe info -v 0

Use the adb_port value from the output.

Connect adb:

MuMuManager.exe adb -v 0 connect

Some MuMu versions use:

MuMuManager.exe adb -v 0 -c connect

Example .nbsrc:

[process.adb]
command = "D:/Program Files/Netease/MuMuPlayer/nx_main/MuMuManager.exe"
args = [ "control", "-v", "0", "launch" ]
deviceAddress = "127.0.0.1"
devicePort = 16384
defaultDevice = "127.0.0.1:16384"
waitForDevice = true

Contributing

See CONTRIBUTING.md. Report security issues privately as described in SECURITY.md.

License

MIT