【文件属性】:
文件名称:hello-world-npm:这是一个简单的npm软件包,演示了Github软件包注册表
文件大小:1KB
文件格式:ZIP
更新时间:2021-04-28 23:55:32
JavaScript
hello-world-npm
这是一个简单的npm软件包,演示了。
安装
在安装之前,请确保通过GitHub Package Registry或使用.npmrc文件进行身份验证。 请参阅“ ”。
$ npm install @codertocat/hello-world-npm
或将此包添加到您的package.json文件中:
"dependencies": {
"@codertocat/hello-world-npm": "1.0.0"
}
用法
const myPackage = require('@codertocat/hello-world-npm');
myPackage.helloWorld();
【文件预览】:
hello-world-npm-master
----README.md(725B)
----index.js(104B)
----package.json(625B)