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

bundle-bindings

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundle-bindings

A `bindings` replacement for when JS files have been bundled together into a single file.

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

#bundle-bindings A drop-in replacement for bindings in bundled modules (e.g. ones that have been browserified). bindings has issues finding the module root in such cases (since all modules are in one file, its stack trace search doesn't work). This module avoids this issue by not attempting to traverse the tree at all, and instead looking directly in the current directory.

You probably don't need this, unless you're doing weird stuff.

NPM

NPM

Usage

Insert in the package.json of the module you wish to bundle as a browser replacement.

e.g.

{
// ...
  "browser": {
    "bindings": "bundle-bindings"
  }
// ...
}

Installation

npm install bundle-bindings

License

MIT

Keywords

FAQs

Package last updated on 29 Jul 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