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

hero-themes-cli-test

v1.0.0

Published

A CLI tool for building HeroSpark themes.

Downloads

14

Readme

GitHub version

Hero Themes Cli

Instalation

$ npm install -g hero-theme-cli

To run hero commands in the theme folder, go to the theme folder and run: (it's necessary to compile ES6 js files)

$ npm init

$ npm install --save-dev hero-themes-cli
or
$ npm install --save-dev @babel/core @babel/plugin-transform-runtime @babel/preset-env @babel/runtime

Commands

The general command like "hero login", "hero whoami", "hero token" can be used from anyplace in your command line. Theme commands like "hero t:use", "hero t:s", etc should be used inside a theme folder.

| Command | Alias | Description | orgs | | -------------- | ---------- | ---------------------------------------------------------------------------------------------------------- | ------------------------- | | login | | Login with your Edools credentials | | token | | It shows your token | | whoami | | Display the current logged in user | | theme:deploy | t:deploy | Deploy your theme. | | theme:deployci | t:deployci | Deploy your theme in a ci environemnt. | --env, --themeID, --token | | theme:list | t:l | List all themes of your workspace. | | theme:use | t:use | Select a theme to work. | | theme:copy | t:c | Duplicate a theme of your workspace. | | theme:publish | t:p | Set the published theme of the logged school. | | theme:download | t:d | Download a file or download all files by giving empty file arg. | | theme:upload | t:u | Upload a file or uploads all files by giving empty file arg. | | theme:serve | t:s | Create a local server which observes for changes in your local files and upload it to your enviroment url. | --root [jsBuildRootFile] |

How it works?

Authentication

The authentication is made by the service /services/netrc and the authentication tokens are stored in the standart file ~/.netrc.

Browsersync

It creates a proxy that rewrites the server endpoints with the local endpoints

Development

Run the commands

$ npm install
// It keeps listening for typescript changes and compile
$ npm run watch
// Add and link the local cli folder to the global scope of node
$ npm link

After this you can run a hero command from anywhere in the terminal

$ hero ...

CI Integration

add these commands to your build

$ npm install -g hero-themes-cli
$ hero t:deployci --env=<staging | production> --themeID=<theme id here> --token=<your token here>

Roadmap

  • create the command theme:init