@tirth070/hello-world
v1.0.2
Published
A tiny, zero-dependency Hello World npm package for Node.js
Downloads
326
Maintainers
Readme
@tirth070/hello-world
A tiny, zero-dependency Hello World npm package for Node.js.
Installation
npm install @tirth070/hello-worldUsage
const helloWorld = require('@tirth070/hello-world');
console.log(helloWorld()); // "Hello, World!"
console.log(helloWorld('IndiaNIC')); // "Hello, IndiaNIC!"API
helloWorld([name])
name(string, optional) — Name to greet. Defaults to"World".- Returns a
stringgreeting.
License
ISC
