- 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.
- Download this extension and install it in the browser extension page(like
chrome://extensions/
). - Use
_require
in dev-tools to install packages from npm or CDN.
jsDelivr - All npm assets are provided by it.