Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.11 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.11 KB

Web Extension Require

🚀 A web extension to require npm packages in browser dev-tools.

preview

Features

  • Support javascript and CSS packages in npm, like _require('lodash') or _require('animate.css')
  • Support npm package scope, like _require('[email protected]') or _require('lodash@4')
  • Support subpath in npm packages, like _require('lodash/lodash.min.js')
  • Support any CDN files, like _require('https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js')

Javascript package needs to provide UMD or other browser format bundles so that they can be directly used in the browser.

Usage

  1. Download this extension and install it in the browser extension page(like chrome://extensions/).
  2. Use _require in dev-tools to install packages from npm or CDN.

Thanks

jsDelivr - All npm assets are provided by it.

License

MIT License © 2022-Present Kricsleo