5.1.5 • Published 6 years ago
hello-bella v5.1.5
Hello Bella
A simple app to help me better understand publishing to NPM. It doesn't really do anything, just a test.
Available functions
Instantiate hello-bella by requiring the module in
const {greeting} = require('hello-bella');
One function is exported
- greeting(name(mixed), timeOfDay(string)); where name is the person to whom the greeting is directed, and timeOfDay is 'am' or 'pm'
Use
console.log( greeting('bella', 'am') );
would result in:
Good morning, Bella. Have an excellent day!