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

1.0.3 • Public • Published

npm node size

calllate

Defer a task to execute it asynchronously.

Install

Local

npm:

$ npm install --save calllate

yarn:

$ yarn add calllate

Global

npm:

$ npm install -g calllate

yarn:

$ yarn add global calllate

Browser

<script src="calllate.js"></script>

Support

Support all major browsers and nodejs.

Usage

Using commonjs

const callLate = require('calllate');

callLate(() => {
    // ...
});

Using es6 or typescript

import callLate from 'calllate';

callLate(() => {
    // ...
});

Using global

<script>
    callLate(() => {
        // ...
    });
</script>

License

MIT © Porky Ke

Package Sidebar

Install

npm i calllate

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

5.04 kB

Total Files

5

Last publish

Collaborators

  • porky-prince