Socket
Socket
Sign inDemoInstall

bigfile

Package Overview
Dependencies
132
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bigfile

Turn a mapping of modules into a browser suitable package. A build tool then.


Version published
Maintainers
1
Created

Readme

Source

Big File

Turn a mapping of modules into a browser suitable package. A build tool then.

Getting Started

In Node.js

npm install bigfile

API

var BigFile = require('bigfile')

Basic Usage

new BigFile()
	// tell big file what to do with javascript files. In this case nothing
    .handle(/\.js$/, function (file) {
    	return file
    })
    // give it a file to include in the build. It dependencies will be traced
    .include(resolve(__dirname, './src/index.js'))
    // If you want to use the product of your main file from the global namespace
    .export('A_Global_if_you_wish')
    // When done with config call enter to have your bigfile made
    .render(function(text) {
    	// Put the text where you please
        res.write(text)
    })

Contributing

Please do.

Release History

(Nothing yet)

License

Copyright (c) 2012 Jakeb Rosoman
Licensed under the MIT license.

Keywords

FAQs

Last updated on 07 Jan 2013

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc