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

npm-install-que

v0.0.4

Published

Que up your project's dependencies, and automatically install them one-by-one.

Downloads

200

Readme

npm-install-que Build Status

Que up your project's dependencies, and automatically install them one-by-one.

Installing dependencies one at a time allows you to keep an eye on things in case something goes wrong. It also puts less strain on your npm install for large, problematic installations. Sometimes npm hangs during the install, and you have to retry the entire install all over again. :confused: To deal with this, I wrote this cli tool that attempts to install your dependencies one at a time, and keeps track of the modules that failed. Doing this means that if you have to attempt a re-install, you only have to re-install the modules that failed.

This started off as a quick experiment to see if it could help ease the pain of common npm hangs, so pull requests are welcome if you want to contribute.

Install

$ npm install --global npm-install-que

Usage

Instead of npm install to install your project dependencies, simply use:

$ npm-install-que

Notes

npm-install-que will run just like npm install, giving you all the same npm output you are used to. The main difference, of course, is that each of your project's dependencies are installed one at a time, and at the end of the install process, you will get a status report.

Please note that npm-install-que does not accept any parameters or arguments, so it's not a full replacement for the npm install command. If you pass arguments to the npm install command, then you already have the ability to install dependencies one-at-a-time, so there is no need for this module to support command line arguments.

On Successful Installation: You will see that each module installed without a problem:

success screenshot

On Failed Installations: You will get a list of modules that failed, and a useful retry command to help you attempt a re-install:

error screenshot

If multiple modules fail to install, then npm-install-que will && together the npm install commands to let you retry them one at a time. For example, if two packages failed, the retry command that will print at the end of the summary will look something like:

npm install package-name && npm install other-package-name

License

MIT © Michael Wuergler