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

@chandu1310/nodeneeds

v2.3.3

Published

Generated with nodeneeds utility.

Downloads

14

Readme

nodeneeds

Build Status npm latest version Maintainability Test Coverage

nodeneeds is an out of the box node module which can be used to get started on building a NPM package with all the best practicies.

The features supported include:

  • Coding Standard (ES6, ESLint)
  • Testing Framework (Chai, Mocha & Sinon.JS)
  • Code Management (Git, Conventional Commits, Changelog)
  • Continuos Integration Support (Travis CI)
  • Quality Analysis (Code Climate)

Getting Started

With all that background in mind, lets get started and create your very own npm package and publish it to npmjs.org

Required:

You must have installed nodejs on you machine, else here is the detailed instruction on how to do it.

Steps:

After you have installed node and npm on your machine, go ahead and install the nodeneeds tool by running the following command

npm install @chandu1310/nodeneeds -g

This install the nodeneeds tool as a command that you can invoke at your shell prompt.

For now let us try to create a default NPM package and publish it.

Navigate to any directory of your choice (referring it as workspace from now on) eg. your home directory and run

nodeneeds

This starts the tool and asks a bunch of questions and usually has some default answers too.

nodeneeds ? What is the name of the node module? (abcd-1565303009156)

Provide the name of the node module you are creating. Defaults to username-timestamp

? How do you intend to use it? (Use arrow keys)

❯ NPM Package

Lambda based Rest Service

ReactJS App Lerna Mono Repo

Select the option which lets us create an npm package. Rest of the options are not yet available and still create the default npm package.

That is all. It should run through fetching the latest nodeneeds definition if needed and bootstrap a nodejs package for you with the given name. It cleans up any temp files created at the end.

Fetching latest nodeneeds

Created NPM module abcd-1565303009156

Cleaning up any leftover mess!

Have fun!

Credits

Chandra Shekar Chennamsetty