npm-demo-snow
v1.0.2
Published
创建一个文件夹 mkdir my-demo ``` cd my-demo npm init ```
Downloads
2
Readme
创建一个文件夹 mkdir my-demo
cd my-demo
npm init
根据npm init的入口文件 创建一个index.js 文件
function sayHello(){
return "我是npm插件测试包"
}
module.exports.sayHello = function(){
console.log("Hello!");
return "Hello World!";
}