New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

big-executable

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big-executable

inline a modules dependencies to reduce startup IO

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

big-executable

inline a modules dependencies to reduce startup IO. Nodes require is blocking and can potentially do a lot of IO to resolve modules. big-executable does all this work up front and throws the result into a single file so that when it comes time to run the code everything is there ready to go which should* result in faster startup times. It could also make distributing your code easier in some cases since users won't need to use npm or anything other than node to run the code.

* From quick tests it doesn't seem to be that much faster

Installation

$ npm install big-executable --save

then in your app:

var big = require('big-executable')

API

big(file)

create a version of file with its dependencies inlined. returns a promise for a string

big(__dirname + '/index.js').read(console.log)

CLI

it also comes with an executable. To install that run:

$ npm install -g big-executable

and with it the previous example would be:

$ big-executable index.js

Keywords

FAQs

Package last updated on 28 Jan 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