inline-process-browser
inline process.browser
Last updated 10 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (10 years ago)

3 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |