ddy-first-npm 说明 使用 说明 这是阿棱的第一个npm包,仅用来测试 使用 const obj = require('ddy-test-npm'); obj.printMsg(); obj.printMsg('这就是个测试啊'); 或者 const { printMsg } = require('ddy-test-npm'); printMsg(); printMsg('这就是个测试啊');