dtss
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

dtss

Set the delay time quickly.

node Travis Coveralls Known Vulnerabilities David Author license

Usage

typescript:

import dtss = require('dtss');
 
dtss.s(58); // 58 * 1000 ms => 58s
dtss.m(14); // 14 * 60 * 1000 ms => 14min
dtss.h(7); // 7 * 60 * 60 * 1000 ms => 7hour

javascript:

const dtss = require('dtss');
 
dtss.s(58); // 58 * 1000 ms => 58s
dtss.m(14); // 14 * 60 * 1000 ms => 14min
dtss.h(7); // 7 * 60 * 60 * 1000 ms => 7hour

Readme

Keywords

Package Sidebar

Install

npm i dtss

Weekly Downloads

26

Version

1.1.1

License

MIT

Unpacked Size

12.7 kB

Total Files

12

Last publish

Collaborators

  • arylo