https://github.com/mathiasvr/process-fast
Fast node `require('process')` for modern browsers
https://github.com/mathiasvr/process-fast
nexttick node process queuemicrotask webpack
Last synced: about 1 month ago
JSON representation
Fast node `require('process')` for modern browsers
- Host: GitHub
- URL: https://github.com/mathiasvr/process-fast
- Owner: mathiasvr
- License: mit
- Created: 2020-11-20T00:51:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-20T00:59:29.000Z (over 5 years ago)
- Last Synced: 2025-07-08T15:51:15.193Z (11 months ago)
- Topics: nexttick, node, process, queuemicrotask, webpack
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# process-fast
[](https://npm.im/process-fast)


[](https://mvr.mit-license.org)
Fast node `require('process')` for modern browsers.
Inspired by [process](https://npm.im/process) but painfully simple - using`queueMicrotask` to shim `process.nextTick()`.
If you only need to support modern browsers this can speed up many node based modules and dependencies by avoiding slow shims such as `setTimeout()`.
## Install
```shell
$ npm install process-fast
```
## Example
Shim with webpack:
```js
plugins: [
new webpack.ProvidePlugin({
process: 'process-fast'
})
]
```