npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

global-lookup-shim

0.1.0

@samccone

npmSnykSocket
Downloads:1462
$ npm install global-lookup-shim
DailyWeeklyMonthlyYearly

Browserify Global Lookup Shim

Why?

Sometimes when you are distributing a standalone lib you want to exclude files from the library. Instead you want them to be looked up on the window. That is where browserify-global-lookup comes in handy.

How to use

browserify src/index.js \
  --standalone Module \
  --external backbone \
  --external underscore \
  | global-lookup-shim.js \
  --global-shim underscore:_ \
  --global-shim backbone:Backbone \
  > dist/build.js