Skip to content

bevacqua/unstrictify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unstrictify

Browserify transform that removes 'use strict' statements from CommonJS modules

Note that this transform looks for 'use strict' literals, and it'll strip them even if they were going to be assigned to a variable. In most cases, that should be good enough.

Install

npm install unstrictify --save-dev

Usage

You should probably use the --global flag, as that will also transform modules in the node_modules directory.

var browserify = require('browserify');
var unstrictify = require('unstrictify');

browserify()
  .transform(unstrictify(), { global: true })
  .bundle();
browserify -g unstrictify

License

MIT

About

Browserify transform that removes 'use strict' statements from CommonJS modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published