1.0.4 • Published 2 years ago
npx-timer v1.0.4
npx timer.
Install
npm i -D npx-timer
Usage
const {default:Timer} = require('npx-timer');
const obj = new Timer({
type: 'COUNT-DOWN',
startTime: new Date(),
endTime: new Date(
`Sun Nov 20 2022 22:59:55 GMT+0500 (Pakistan Standard Time) `
),
});
obj.start().subscribe((response) => {
console.log(response);
});