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

exp-cli

v5.0.0

Published

The EXP CLI allows developers to run a local web application in an EXP player. This gives the application access to the Player App SDK.

Downloads

145

Readme

The EXP CLI allows developers to run a local web application in an EXP player. This gives the application access to the Player App SDK.

Installation

Install NodeJS on your operating system. For OSX users with homebrew you can use brew install node.

Once Node is installed, install the exp-cli package globally using NPM.

npm install -g exp-cli

Note: You may need to use sudo or be logged in as root.

Running CLI manually

An alternative to using NPM to install and start the CLI is cloning the git repository and running the script directly.

git clone https://github.com/ScalaInc/exp-cli.git
node ./exp-cli/bin/exp.js

Create the App

Create a directory where you want to create your application and run

exp init

This will generate an index.html, style.css, main.js, and manifest.json.

Launch the App

From the directory where you created the app run

exp play

This will launch an EXP player in a webrowser. The first time you run exp play you'll be presented with a pairing screen. Use the EXP user interface to pair the device to your browser.

After pairing the device, your app will now be running inside of a full featured EXP player. The browser tab will automatically reload the player when you make changes to your application's code.

Configuring the Application

You can provide configuration to the application by putting a manifest.json file in your web application's root directory. Default options can be specified as in the example below.

{
  "config": {
    "option1": [true, false, "45"],
    "another_option": 1234
  }
}

These options will be accessible inside the application at exp.app.config.

Running Multiple Players

You can run multiple players by specifying a port to the exp play command, i.e. exp play -p 8899. Each running player will need to be paired individually.

Deploy the App

From the directory where you created the app run

exp deploy

This will begin the process of uploading new or changed files and folders to an app in your content tree. The first time you run exp deploy you'll be required to log into an organization. The authentication will be saved temporarily to make subsequent deploys faster. If for any reason you need to remove the saved authentication you can use the exp logout command.

During deployment you will be asked to enter the relative (to root) or absolute path to the app in your content tree. Optionally, you can specify the app path to the exp deploy command, i.e. exp deploy --app custom-weather-app

If the app does not exist you will be asked to confirm that you want to create the app. Enter y or yes to approve the upload.