@jkob/common
TypeScript icon, indicating that this package has built-in type declarations

1.7.3 • Public • Published

Sleep function

import { sleep } from '@jkob/common';
await sleep(2000); // in milliseconds

String methods

import { str } from '@jkob/common';
const { fixedLength, textToId, normalize } = str;
fixedLength(10, "..", true);
normalize("..")
textToId("..")

Readme

Keywords

none

Package Sidebar

Install

npm i @jkob/common

Weekly Downloads

11

Version

1.7.3

License

MIT

Unpacked Size

5.46 kB

Total Files

10

Last publish

Collaborators

  • jkob