hey-tushar
v1.0.5
Published
Tushar Singh's terminal portfolio - run with npx hey-tushar
Maintainers
Readme
tushar-dev
A one-shot terminal portfolio, distributed as an npm package.
npx tushar-devprints Tushar Singh's portfolio card straight to the terminal and exits. No menu, no prompts, no dependencies — just the message.
Editing it
Everything shown is one console.log template string inside index.js.
Open index.js, edit the text between the backticks, save. What's inside
those backticks is exactly what gets printed — nothing more, nothing less.
To add a line: add it inside the backtick string, in the position you want. To delete a line: delete it from inside the backtick string. There is no separate config object in this version — the text itself is the whole file.
Testing locally
node index.jsOr test the real global command the way an end user will run it:
npm link
tushar-devThen clean up:
npm unlink -g tushar-devPublishing
The npm website is only for your account and browsing packages — the publish step itself has to run from a terminal, since it needs to read and upload your local files:
npm login
npm publishCheck tushar-dev isn't already taken on npmjs.com first. If it is,
change name in package.json and the bin key to match, then
publish. From then on, anyone can run:
npx tushar-devUpdating a published version
npm version patch # 1.0.0 -> 1.0.1
npm publishPublishing checklist
[ ] Edit the text inside index.js
[ ] Test with node index.js
[ ] Test with npm link + tushar-dev
[ ] Confirm "tushar-dev" is available on npmjs.com
[ ] npm login
[ ] npm publish
[ ] npm unlink -g tushar-dev (clean up local link)
[ ] Test from a different directory: npx tushar-dev