inline-process-browser
inline process.browser
Last updated 9 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install inline-process-browser 
SYNC missed versions from official npm registry.

inline-process-browser

Browserify transform which turns any reference to process.browser into true.

Can remove non-browser code when combined with unreachable-branch-transform

turns

if (process.browser) {
  //something
}

into

if (true) {
  //something
}

Current Tags

  • 2.0.1                                ...           latest (9 years ago)

3 Versions

  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 2
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (3)

© 2010 - cnpmjs.org x YWFE | Home | YWFE