Browserify

{{Short description|Open-source JavaScript tool}}

{{notability|Products|date=June 2021}}

{{Infobox software

| name = Browserify

| logo = Browserify.svg

| logo caption =

| logo alt =

| logo size =

| collapsible =

| screenshot =

| screenshot size =

| screenshot alt =

| caption =

| other_names =

| author =

| developer = Browserling team and Browserify contributors

| released = {{Start date and age|2011|06|09|df=yes}}{{cite web | url=https://libraries.io/npm/browserify/versions | access-date=2020-12-31 | title=Release Date of Version 1.0.0}}

| ver layout =

| discontinued =

| latest release version = {{Wikidata|property|edit|reference|P348}}

| latest release date = {{Start date and age|{{Wikidata|qualifier|P348|P577}}|df=yes}}

| latest preview version =

| latest preview date =

| repo = {{URL|https://github.com/browserify/browserify}}

| qid =

| programming language = JavaScript

| middleware =

| tools =

| engine =

| operating system = Linux, macOS, Windows

| platform = Node.js

| included with =

| replaces =

| replaced_by =

| service_name =

| size =

| standard =

| language =

| language count =

| language footnote =

| genre =

| license = MIT License{{cite web | url=https://github.com/browserify/browserify/blob/master/LICENSE | title=LICENSE file on GitHub | access-date=2020-12-31}}{{cite web | url=https://www.npmjs.com/package/browserify | title=License field from browserify - npm | access-date=2020-12-31}}

| website = {{URL|http://browserify.org/}}

| AsOf =

}}

Browserify is an open-source JavaScript bundler tool that allows developers to write and use Node.js-style modules that compile for use in the browser.{{cite web |url=https://ampersandjs.com/learn/npm-browserify-and-modules |title=NPM, Browserify, and modules |accessdate=24 Dec 2014}}

Examples

= Execution =

$ browserify source.js -o target.js

This adds the source of all the required modules and their dependencies used in source.js and bundles them in target.js. Browserify traverses the dependency graph, using your source.js as its entry point, and includes the source of every dependency it finds.

See also

References

{{Reflist|30em}}

{{ECMAScript}}

{{Portal bar|Free and open-source software}}

Category:JavaScript libraries

Category:JavaScript programming tools

Category:Software using the MIT license