Skip to content
James Halliday edited this page May 10, 2014 · 106 revisions

Here is a list of browserify transforms:

You should also consult the packages on npm with the browserify-transform tag.

  • aliasify - remap require calls at build time.

  • blissify - compile .html files written using bliss

  • brfs - inline fs.readFileSync() calls with file contents

  • bulkify - bulk require whole directories into nested objects using globs

  • cacheify - wraps around other transforms, caching their results to speed up bundling.

  • caching-coffeeify - coffeeify version that caches previously compiled files to optimize the compilation step

  • cocoify - transform for coco, unfancy coffeescript

  • coffeeify - compile .coffee files to javascript automatically

  • commandify - executes a command whenever the bundle is created

  • browserify-compile-templates - require .html file snippets to precompile Underscore templates.

  • concatenify - concatenate files into a bundle

  • cssify - require .css files to add styles to the page

  • csvify - CSV and TSV transformations

  • deAMDify - translate AMD modules to Node-style modules automatically

  • debowerify - use bower client packages more easily with browserify.

  • decomponentify - use component client packages seamlessly with browserify.

  • envify - Selectively replace Node-style environment variables (process.env) with plain strings.

  • es6ify - compile ES6 files to ES5 javascript automatically

  • exposify expose globals added via a script tag as modules so they can be required (used by browserify-shim)

  • folderify - inline content of a directory imported using include-folder. Files content is inlined using brfs

  • gorillaify - compile .gs(gorillascript) files to javascript automatically

  • hbsfy - precompile handlebars templates to javascript functions automatically

  • icsify - compile .iced IcedCoffeeScript files to javascript automatically

  • installify - automatically installs your missing dependencies for you.

  • browserify-istanbul - a transform for the istanbul code coverage tool

  • jedify - transform po files to Jed instances.

  • jisonify - include Jison parsers in your project

  • jstify - require .jst/.tpl files to precompile Underscore and Lo-Dash templates (with HTML minification)

  • jstransformify - apply source to source AST transformations and generate source maps for them

  • lessify - LESS precompiler and CSS plugin

  • liveify - compile livescript files to javascript automatically

  • nunjucksify - precompile nunjucks templates.

  • partialify - require()-able HTML, CSS, JSON and (potentially) more

  • phantomjsify - shim out node.js core for PhantomJS

  • reactify - compile JSX (superset of javascript used in react UI library) files to javascript

  • rewireify - a port of Rewire that adds setter and getter methods to each module so that their behaviour can be modified for better unit testing.

  • rfileify - inline rfile(path) calls with file contents (also supports ruglify and any other rfile derivatives)

  • rfolderify - turn calls to rfolder into a map of requires of the files in the thing

  • browserify-shim - make commonJS-incompatible libraries/files browserifyable

  • shortify - rewrites require('./foo/../baz') to require('./../../foo/bar/../baz') or however defined per options

  • stripify - strip console.log lines from your code

  • browserify-swap - swaps out modules according to a config in your package.json selected via an environment variable

  • sweetify - transform for loading and transforming code with Sweet.js macros

  • swigify - precompiles include and extends tags in swig templates

  • traceurify - transform ES6 to ES5 using traceur

  • transfigurify - configure which transforms get applied to your package via an environment variable

  • turn - minimal modules for a hypothetical es6 with lua's return

  • typescriptifier - compile typescript files to javascript

  • unpathify - compress require paths for better minification i.e. require('some/long/path') => require(1)

  • viralify - injects browserify transforms into specified dependencies of a package recursively

Clone this wiki locally