inline-process-browser
inline process.browser
Last updated 11 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 (11 years ago)

3 Versions

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

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