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

stamplay-cli

v1.4.4

Published

Stamplay command line

Downloads

66

Readme

Stamplay-cli

Build Status npm version

This is the Stamplay Command Line (CLI) Tool. They can be used to:

  • Administer your Stamplay account
  • Interact with Stamplay Platform, our product to host your static HTML, JS, CSS, images, etc.

To get started with the Stamplay CLI, read through our hosting quickstart guide.

Installation

To install the Stamplay CLI, you first need to sign up for a Stamplay account.

Then you need to install Node.js and npm. Note that installing Node.js should install npm as well.

Once npm is installed, get the Stamplay CLI by running the following command:

npm install -g stamplay-cli

This will provide you with the globally accessible stamplay command.

Commands

deploy

options:
   --message "msg", -m "msg"  Use the given "msg" as the deploy message.

Deploys the current app to Stamplay and creates a new version.

Uploads the directory detailed by the "public" attribute in the stamplay.json settings file under. The app must contain an entry point file called index.html at root level of your public directory. If no file is found you'll be prompted to create it.

download

options:
   --proxy "address"       The requests will be sent via a connection to the proxy server.

Download the current active version of an app.

You will be prompted to type appId and apiKey, if you don't have it go into your app on https://editor.stamplay.com and get them under Backend -> ApiKey section.

init

options:
   --proxy "address"       The requests will be sent via a connection to the proxy server.

Initializes an existing Stamplay app in the current directory and prompts you to configuring it for stamplayapp.com.

Running stamplay init in an existing repository is safe. It will not overwrite things that are already there.
It only Generates a stamplay.json file in the current directory with all the settings required to deploy it. If you don't have appId and apiKey yet open https://editor.stamplay.com and create a new app.

start

options:
   --port, -p		       Specifies a custom port where the local server must run.
   --spa                   Enable Single Page Application mode (Rewrite all URLs to index.html,
                           use it to support pretty URLs with AngularJS HTML5 Mode).

Start serving your app on your localhost. The public folder will be served at the following address http://localhost:8080.

open

Opens the current Stamplay app's stamplayapp.com subdomain in a browser.

rollback

Restore in production a previously deployed version. You'll be prompted to pick one of your previous deploys from a list.

Help

The command stamplay --help lists the available commands.