Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

nphalp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nphalp

Define help messages for your npm scripts

latest
npmnpm
Version
1.0.5-alpha
Version published
Maintainers
1
Created
Source

nphalp

Codacy Badge Dependencies NPMS Score npm version Build Status

Define help messages for your npm scripts

Motivation

Especially in monorepos or repositories which are containing server and client scripts you can lose the overview quickly and onboarding new developers to this projects can be a pain. This Script shows version information of your tools as also provides helptexts for your scripts.

Usage

Install it in your dependencies

npm install nphalp --save-dev
yarn add nphalp --dev

Describe your scripts with a new nphalp property in your package.json

"scripts": {
  "start": "node src/server.js"
},
"nphalp": {
  "start": "Starts the Server"
}

Define a halp task

scripts: {
  "start": "node src/server.js",
  "halp": "nphalp"
},

Script will show all commands even when no Helptext is provided Script also shows version numbers of grunt, gulp, node, nvm and npm

yarn mode

nphalp --yarn will show yarn ${cmd} instead of npm run ${cmd}

Keywords

npm

FAQs

Package last updated on 04 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts