@audwinoyong/hello-world-npm

1.0.7 • Public • Published

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.

/@audwinoyong/hello-world-npm/

    Package Sidebar

    Install

    npm i @audwinoyong/hello-world-npm

    Weekly Downloads

    2

    Version

    1.0.7

    License

    ISC

    Unpacked Size

    3.56 kB

    Total Files

    7

    Last publish

    Collaborators

    • audwinoyong