npm229
v1.0.2
Published
```JS // 本地开发一个npm包的流程 /** * npm 先在去注册登录 https://www.npmjs.com/ * 创建文件夹 mkdir xxx * 进入xxx 运行 npm init * 创建要输出的index.js * index需要将其导出export default xxx * 然后npm publish 上传 * 上传后在npmjs.com搜索xxx * */ ``
Downloads
11
Readme
// 本地开发一个npm包的流程
/**
* npm 先在去注册登录 https://www.npmjs.com/
* 创建文件夹 mkdir xxx
* 进入xxx 运行 npm init
* 创建要输出的index.js
* index需要将其导出export default xxx
* 然后npm publish 上传
* 上传后在npmjs.com搜索xxx
*
*/