saeedsufi
v2.0.2
Published
Amazing package that introduces Saeed Sufi
Downloads
13
Readme
npx saeedsufi
Taking Node-cli course by ahmad awais
Usage
To use this CLI run the following command:
npx saeedsufi
Here's the Hashbang you need to use at the top of your
index.js
file to be able to run js on command line without needing to prefix your commands withnode
:#!/usr/bin/ env node
After creating
index.js
andpackage.json
, runnpm link
to install your package globally. You can uninstall it by runningnpm uninstall -g <packagename>
.Run
npm publish
publish your program to npm.Use this shortcut to get to your package url:
npm.im/sufi
.Regarding versioning: "Major.Minor.Patch". When there is non-breaking minimal change, use Patch to increment verisioning. When you added a feature which is non-breaking, use Minor and when you add a major feature which is breaking the current installations or if it has a lot of new features, then you need to add up Major.