npm-poison

how to publish your npm package

  1. register https://www.npmjs.com/

  2. npm login

1
2
3
4
5
6
7
8
9
#login
npm login

#mkdir folder and init package
mkdir evil-npm
cd evil-npm

npm init
npm publish

example npm poc package
https://github.com/neargle/npm_evil_package/blob/master/package.json

reference