Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (26 loc) · 623 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 623 Bytes

@core/tools

Why:

Because it's have not anywhere...

What:

Helpers toolkit, provide some often use functions. This is one of dependenies for @core/core module.

Basic usage:

const { timer } = require('@core/tools');

(async () => {
    await timer.wait(1000);
    await timer.immediate();
    await timer.tick();
});
const { object } = require('@core/tools');

let res = object.ksort({
    b: 1,
    c: 2,
    a: 3,
});

console.log(res); // { a: 3, b: 1, c: 2 }

Maintainers

Leonid Levkin < [email protected] >