1.0.7 • Published 4 months ago
@audwinoyong/hello-world-npm v1.0.7
Hello World for NPM
This is a test package to help learn about creating and publishing NPM packages.
The package provides a function sayHello(name, greeting)
which, by default,
prints 'Hello World' to the console.
Install
npm install @audwinoyong/hello-world-npm
Run Tests
npm test
Use
const { sayHello } = require('@audwinoyong/hello-world-npm');
sayHello();
// Hello World
sayHello('Dave');
// Hello Dave
sayHello('Dave', 'Hi')
// Hi Dave
License
This code is 100% free and open-source, under the MIT license.