mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some packages
This commit is contained in:
31
node_modules/set-immediate-shim/readme.md
generated
vendored
Normal file
31
node_modules/set-immediate-shim/readme.md
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
# set-immediate-shim [](https://travis-ci.org/sindresorhus/set-immediate-shim)
|
||||
|
||||
> Simple [`setImmediate`](https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate) shim
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save set-immediate-shim
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var setImmediateShim = require('set-immediate-shim');
|
||||
|
||||
setImmediateShim(function () {
|
||||
console.log('2');
|
||||
});
|
||||
|
||||
console.log('1');
|
||||
|
||||
//=> 1
|
||||
//=> 2
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Reference in New Issue
Block a user