who-are-u
v1.0.3
Published
Demonstrates some of the best practices on NPM package writting!
Downloads
3
Readme
Who are u?
Demonstrates some of the best practices on NPM package writting!
install
npm i who-are-u
usage - import
import WhoAreU, { whoareu } from 'who-are-you';
const whoAreU = WhoAreU('man');
console.log(whoAreU); // Hey man!
const whoru = whoareu('woman');
console.log(whoru); // Hey woman!
usage - require
const wru = require("who-are-u");
console.log(wru.default('man')); // Hey man!
console.log(wru.whoareu('woman')); // Hey woman!