Open your terminal and hit
npx aryaman
If You are forking this repo then do star Anmol Singh's Repo, as it is his Project so credit him for his efforts.
-
Clone the repo
git clone https://github.com/atpug22/npx-card.git cd npx-card npm install
-
Test it using
node card.js
-
Change the "name" in
package.json
-
Change the information according to you in
card.js
file. -
Make sure you have created an account on npmjs
-
Login on npm if you are not
npm login
-
Atlast Publish
npm publish
-
Now you're ready to run
npx your-package-name