2.4.0 • Published 7 years ago
@davidodio/hello v2.4.0
hello
A small, pointless library for learning how to publish to npm. Says hello to the passed in name.
Expanded on @bamble/tiny
Notes
npm publish
must be run with the--access=public
switch free npm accounts- unpkg.com gives info about the package, as does Package Phobia
Install
$ npm install @davidodio/hello
Usage
const hello = require('@davidodio/hello');
hello('David');
//=> "Hello David"
hello(1337);
//=> Uncaught TypeError: Hello wants a string!
// at hello (<anonymous>:2:41)
// at <anonymous>:1:1