Package Exports
- pull-esm
- pull-esm/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pull-esm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pull-esm
This is an ES module build of pull-stream
Usage
To use in a bundle-free browser setup:
npm i -D pull-esm
mkdir vendor
cp node_modules/pull-esm/dist/index.js vendor/pull-stream.js
Then you can import it in your js like so:
import pull from './vendor/pull-stream.js'
If you are using Node you can probably just
import pull from 'pull-esm'