Skip to main content
  • 2850 Accesses

Abstract

Browserify is a JavaScript module loader that works around the language’s current lack of support for importing modules within the browser by serving as a “pre-processor” for your code. In much the same way that CSS extensions such as SASS and LESS have brought enhanced syntax support to stylesheets, Browserify enhances client-side JavaScript applications by recursively scanning their source code for calls to a global require() function. When Browserify finds such calls, it immediately loads the referenced modules (using the same require() function that is available within Node.js) and combines them into a single, minified file—a “bundle”—that can then be loaded within the browser.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Tim Ambler and Nicholas Cloud

About this chapter

Cite this chapter

Ambler, T., Cloud, N. (2015). Browserify. In: JavaScript Frameworks for Modern Web Dev. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0662-1_6

Download citation

Publish with us

Policies and ethics