npm init -y

function fn(){
return 1+2
}
exports.hello=fn;
npm install . -g

创建一个text文件
npm link heath_apis

node index.js

npm adduser
npm login
登录账号
密码
邮箱
npm publish
去自己项目
npm install heath_apis -S


npm unpublish heath_apis --force -g
第一步 npm init


第二部 (实现代码)

第三步 提交(上面)
npm install heath_apis -S
