@dccs/utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

utils · travis build npm version

A collection of small to medium sized utils that don't fit into a package of their own.

@dccs/utils is written in Typescript and comes with its own type definitions.

Installation

You should install utils with npm or yarn:

npm install @dccs/utils
or
yarn add @dccs/utils

This command will download and install utils and all required dependencies.

Features

sleep

Retuns a Promise that resolves after ms milliseconds.

sleep(1000).then(() => console.log("after 1 second"));

// Or with the async syntax:
await sleep(1000);
console.log("after 1 second");

Contributing

License

@dccs/utils is MIT licensed

Readme

Keywords

none

Package Sidebar

Install

npm i @dccs/utils

Weekly Downloads

113

Version

1.0.1

License

ISC

Unpacked Size

7.76 kB

Total Files

12

Last publish

Collaborators

  • dccsit