1.0.4 • Published 1 year ago

npx-timer v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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);
});

Created By Muhammad Sarwar

Github Badge