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

@findaway/sandbox-cli

v2.2.1

Published

Tool to manage sandboxed web apps

Readme

@findaway/sandbox-cli

Command line tool to manage sandboxed web apps. This will create a new S3 bucket and static website to view the sandbox.

Install

You should install this tool globally to allow use in any project directory.

# Yarn
yarn global add @findaway/sandbox-cli

# NPM
npm install -g @findaway/sandbox-cli

Project Setup

To use sandbox with your project you need to add some config values to your package.json

  • srcDir - This is the directory of files to deploy to your sandbox.
  • prefix - (optional) Directory to place files in S3 bucket.
{
    "sandbox": {
        "srcDir": "path/to/files/to/upload/",
        "prefix": "optional/folder/prefix/"
    }
}

AWS config

This tool assumes you have ~/.aws/config and ~/.aws/credentials setup.

config

[default]
region=us-east-1
output=json

credentials

[default]
aws_access_key_id=YOURAWSACCESSKEY
aws_secret_access_key=YOURAWSSECRETACCESSKEY

Commands

create

Creates the S3 bucket, website, and Bucket Policy. This will use the current working directory's current git branch to name the bucket.

$ sandbox create
Branch: current-branch-name
Bucket: my-project-current-branch-name-sandbox
Region: your-aws-region
URL: http://my-project-current-branch-name-sandbox.s3.amazonaws.com/optional/folder/prefix/
Sandbox Created!

deploy

Sync files to S3. This will copy your srcDir files to the sandbox S3 bucket. If no files have changed then nothing will be uploaded.

$ sandbox deploy
⠋ Uploading Files
Sandbox Deployed!

remove | rm [name] [branch]

Remove all uploaded files and delete the S3 Bucket. Arguments can be passed to remove a sandbox globally.

Arguments

  • name - Optional. Name of the name, from package.json.
  • branch - Optional. Name of Git branch.
$ sandbox remove
⠋ Removing Sandbox
Sandbox Removed!

$ sandbox remove another-project another-branch-name
⠋ Removing Sandbox
Sandbox Removed!

info [name] [branch]

Display info about the current branch's sandbox. Arguments can be passed to look up sandbox information globally.

Arguments

  • name - Optional. Name of the name, from package.json.
  • branch - Optional. Name of Git branch.
# No sandbox created.
$ sandbox info
Sandbox Not Created. Run `sandbox create`

# Sandbox created
$ sandbox info
Branch: current-branch-name
Bucket: my-project-current-branch-name-sandbox
Region: your-aws-region
URL: http://my-project-current-branch-name-sandbox.s3-website.your-aws-region.amazonaws.com/optional/folder/prefix/

# Sandbox created
$ sandbox info another-project another-branch-name
Branch: another-branch-name
Bucket: another-project-another-branch-name-sandbox
Region: your-aws-region
URL: http://my-project-another-branch-name-sandbox.s3-website.your-aws-region.amazonaws.com/optional/folder/prefix/

list | ls

List all active/created sandboxes.

# No sandbox created.
$ sandbox ls
⠋ Listing Sandboxes

my-project
  current-branch-name

another-project
  another-branch-name

open [repo] [branch]

Open the sandbox URL in a browser.

# No sandbox created.
$ sandbox open