1.0.6 • Published 3 years ago

a-simple-tool v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

a-simple-tool

介绍

用于实验如何发布一个npm包

  • 第一步: 在npmjs.com注册用户信息
  • 第二步: 在gitee上新建一个仓库
  • 第三步: 在本地拉取仓库代码。
  • 第四步: 使用npm init -y 建立一个Npm包
  • 第五步: 建立一个index.js 导出变量

  • exports.doSomething = doSomething

  • const { doOtherthing,doSomething } = require("a-simple-tool");
  • doOtherthing(333)

// module.exports = doSomething //const doSomething = require("a-simple-tool")

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago