Skip to content

mathiasvr/process-fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

process-fast

NPM Downloads Dependency status license

Fast node require('process') for modern browsers.

Inspired by process but painfully simple - usingqueueMicrotask 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

$ npm install process-fast

Example

Shim with webpack:

plugins: [
  new webpack.ProvidePlugin({
    process: 'process-fast'
  })
]

About

Fast node `require('process')` for modern browsers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published