Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bundlify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundlify

Load all script local depencies on its bundle

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Bundlify

For those who don't like the extra code of browserify, bundlify will simply wrap your modules, with Module Pattern, and put them all on the same file, but it will not read external libraries!

Installation

$ npm install bundlify

Usage

$ bundlify entry_point.js

Options

You can translate the name of the libraries to load it from the browser, e.g.

$ bundlify index.js bluebird:Promise > bundle.js
// index.js

var bluebird  = require('bluebird');

Will be translated to:

// bundle.js

var bluebird = this.Promise; // this will always be the global scope

You can also export your entry module

$ bundlify onionskin.js :OnionSkin > dist/onionskin.js

Will put the export of the file onionskin.js on the global variable OnionSkin

Keywords

FAQs

Package last updated on 08 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc