mustansir
v1.3.1
Published
My name "mustansir" as an npx command.
Downloads
4
Maintainers
Readme
mustansir.npx
My name "mustansir" as an npx command 🚀.
Demo.
Why?
I created this command as sort of my portfolio that can be accessed from any terminal with Node.js. I was very curious to see if such a thing could be accomplished and it turned out to be quite easy in the end.
Run.
Assuming you have Node.js installed, to run this command, simply do.
npx mustansir
Bonus.
You can use this repository to make your name as an npx command! To do this following the instructions:
- Clone this repository.
git clone https://github.com/MustansirZia/mustansir.npx.git
. - Open
src/config.json
and change the variables for name, bio, github username, etc. to your own. There's a bunch of other stuff you can change there as well. - Open
package.json
and changename
field to whatever you wish the command to be. - Inside the same file, change
version
field to1.0.0
. - Login into your npm account using the cli
npm login
. (You might want to create an npm account if you don't have one) - Publish your npx command using
npm publish
. - Make everyone else think you're cool by telling them to type
npx <YOUR_NAME>
where<YOUR_NAME
is thename
field in yourpackage.json
. - Show some love and star this repo. :)
License.
MIT.