hibye
v0.2.1
Published
This project will simply print hi and bye.
Downloads
128
Maintainers
Readme
hibye
This project will simply print hi and bye.
Getting started
npm i hibye
Import/Require
// ESM
import HiBye from 'hibye';
// CommonJs
const {HiBye} = require("hibye");
const hiBye = new HiBye();
console.log(hiBye.hi());
console.log(hiBye.bye());
Methods
hi
console.log(hiBye.hi()); // hi
hiJson
console.log(hiBye.hiJson()); // { message: 'hi' }
bye
console.log(hiBye.bye()); // bye
byeJson
console.log(hiBye.byeJson()); // { message: 'bye' }
License
It's free :smiley:
MIT License Copyright (c) 2024 Yusuf Shakeel
Donate
Feeling generous :smiley: Donate via PayPal