1.0.3 • Published 2 years ago

calllate v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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