webext-require
webext-require copied to clipboard
🚀 Require npm packages in browser dev-tools.
Web Extension Require
🚀 A web extension to require npm packages in browser dev-tools.
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
- Download this extension and install it in the browser extension page(like
chrome://extensions/). - Use
_requirein dev-tools to install packages from npm or CDN.
Thanks
jsDelivr - All npm assets are provided by it.
License
MIT License © 2022-Present Kricsleo