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

nwjr

v1.0.0

Published

A simple command line utility to launch NW.js apps during development.

Downloads

7

Readme

nwjr

Flattr nwjr

A simple command line utility to easily launch NW.js apps during development. A single call to nwjr opens your app right from the command line, with minimal, one-time setup. Compatible with Windows, Linux and Mac.

When starting development on an NW.js app, follow the instructions below as step 1. It is meant to be a replacement for all of this, regardless of platform.

Currently only tested on Windows and Mac. If you have verified that it works on Linux, please contact me @Antrikshy. PRs with fixes are welcome. When Linux compatibility is confirmed, this message will disappear.

Contact: @Antrikshy for any bugs or suggestions.

Setup

nwjr is an alternative to downloading NW.js and running it manually.

Install using

npm install nwjr

nwjr requires a one-time setup. It needs to be fed NW.js executable files that it will then use to run your app. Head over to nwjs.io and download NW.js for your platform. Unpack it (from the .zip or .tar.gz that it comes in) and run the setup command

nwjr -s /path/to/unpacked/folder

The folder in this argument should be the one that now contains the executables. Once nwjr accepts the NW.js files, you are free to delete the folder.

Usage

After completing setup, you can run

nwjr /path/to/app

Simply pass in the path to your app's folder, which contains the package.json. This means that you can also navigate to your app's directory and run nwjr ..

Update NW.js

You can update to newer versions of NW.js by simply downloading the newer version, unpacking it and running the setup script again.

Contribute

Feel free to contribute to this project. Even the smallest of contributions are appreciated. Things to consider:

  • Make error messages more verbose (for ex. "Either that directory does not exist, or it's missing appropriate NW.js files." can be split into two error checks).
  • Add automated downloading and unpacking of executables (using supplied URL?).

Donate

  • Flattr
  • via Bitcoin at 1Aqvg4zVrdskeaS4dVjSGK7eHavSoEbB7V