{"_id":"@antongolub/esm","_rev":"2-3e7d86f6faeb4d2fc8b39dca15e5d57d","name":"@antongolub/esm","dist-tags":{"latest":"1.0.0"},"versions":{"3.2.25":{"name":"@antongolub/esm","version":"3.2.25","description":"Tomorrow's ECMAScript modules today!","publishConfig":{"access":"public"},"keywords":["commonjs","ecmascript","export","import","modules","node","require"],"repository":{"type":"git","url":"git+https://github.com/standard-things/esm.git"},"license":"MIT","author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com"},"main":"esm.js","runkitExample":"require = require(\"esm\")(module)\nrequire(\"lodash-es\")","esm":true,"engines":{"node":">=6"},"scripts":{"prelint":"npm run pretest","prepare":"npm run build:prod","prepub":"npm run test:prod && npm run build:prod","pretest":"npm run build -- --test","pretest:prod":"npm run build:prod -- --test","build":"node script/build.js","build:prod":"npm run build -- --prod","clean":"node script/clean.js","lint":"eslint '**/*.{js,mjs}' --fix --quiet","pub":"node script/publish.js","test":"node script/test.js","test:prod":"node script/test.js --prod"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-optional-catch-binding":"^7.2.0","@babel/plugin-transform-arrow-functions":"^7.2.0","@babel/plugin-transform-block-scoping":"^7.4.4","@babel/plugin-transform-flow-strip-types":"^7.4.4","@babel/plugin-transform-runtime":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.5","@babel/register":"^7.4.4","@babel/runtime":"^7.4.5","@std/esm":"^0.25.5","@types/node":"^10.14.10","acorn":"^6.1.1","ava":"^1.4.1","babel-eslint":"^10.0.2","babel-loader":"^8.0.6","babel-plugin-transform-for-of-as-array":"^1.1.1","babel-plugin-transform-remove-console":"^6.9.4","babel-plugin-transform-remove-debugger":"^6.9.4","bluebird":"^3.5.5","chai":"^4.2.0","core-js":"^2.6.9","download":"^7.1.0","eslint":"^5.16.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.18.0","eslint-plugin-node":"^7.0.1","execa":"^1.0.0","express":"^4.17.1","flow-remove-types":"^1.2.3","fs-extra":"^7.0.1","global-prefix":"^1.0.2","globby":"^8.0.2","golden-fleece":"^1.0.9","hard-rejection":"^1.0.0","html-minifier":"^3.5.21","husky":"^2.7.0","jasmine":"^3.4.0","jest":"^24.8.0","json-6":"^1.0.2","lab":"^17.3.0","lit-node":"^0.1.1","mocha":"^5.2.0","mock-require":"^3.0.3","mock-stdio":"^1.0.3","module-alias":"^2.2.0","newrelic":"^4.13.1","nop":"^1.0.0","nyc":"^14.1.1","optimize-js-plugin":"0.0.4","pm2":"3.2.4","postcss":"^7.0.17","proxyquire":"^2.1.0","require-inject":"^1.4.4","requizzle":"^0.2.2","rewire":"^4.0.1","semver":"^5.7.0","sinon":"^7.3.2","sleep":"^6.1.0","sqreen":"^1.31.0","strip-ansi":"^5.2.0","terser":"^3.17.0","terser-webpack-plugin":"^1.3.0","test262-parser":"^2.2.0","trash":"^4.3.0","ts-node":"^7.0.1","typescript":"^3.5.2","unexpected":"11.5.0","unused-webpack-plugin":"2.2.0","webpack":"^4.35.2","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","yargs":"^12.0.5"},"gitHead":"511d672ae13e8bee13ba19bd7fdc2a3206c9d7d7","bugs":{"url":"https://github.com/standard-things/esm/issues"},"homepage":"https://github.com/standard-things/esm#readme","_id":"@antongolub/esm@3.2.25","_nodeVersion":"14.16.0","_npmVersion":"7.7.4","dist":{"integrity":"sha512-myWVpRIjfrTNgg0nzDJfAtw2KhVRke+cQWZHLtkZHfc8C4F3c/fjI0T/kt4V3rCH7TBW43mruS9feVg20SSeUg==","shasum":"a43c9c078ef26248c0b6db4c678efef7fb11ddd8","tarball":"https://registry.npmjs.org/@antongolub/esm/-/esm-3.2.25.tgz","fileCount":6,"unpackedSize":313286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZh+dCRA9TVsSAnZWagAAQZUP/A1NWnykAEQP62BDHoPH\nKp/xLV3DZmL1CujMT6ptLlskRmaEZJkCs9Rd0Axit64qe2xslbh6Lpe0+QZ9\n+K612T4OzOnMpFP4zSM86lk71vU++keztZWdLuhb4wjLm58zAGKU9nOA8lZo\ni/zgbhyp3MDorJTp9Yg2NneGJJYxBpadaPdjDZgUmQ/9joHEBGwOrpEDblcH\nAWK/pQtDYKmx1b8P4ButZuJRXX83GICauHcZTrKI6xrnBPucEXpHQO5aTekY\nku/1BGL9GSPb66ejs1PJv2taO7VpE+sBZK3xYA/evXKBrOp/fAm6+hbIYV1y\nFu55mk+CNQu7LyVBo0I9IvmQsWYlRcCInjegj/UWtR+svvSGS5nr2SVXXNeT\njOkNIfdT41foHWe0GWpk7YA2xw91a8qS5uD49GnqsV4I4XcxqukWeHBiHwM/\niPVCBVv0Z6qQMQeLl2fZ4btldeVQHR1jQ/fPemf2ANKmVkfhgTtmqe4h3EXS\nIpg1mjq8wYAc6ED8zw/WtmBiRD+bXilkisCh/J5ghOAWGLNIi3cT/F2KtYRk\nw0etKlyYG51xCzuGyUQ8wRA5UBGc4H5C0l5eNYEa0Y7aSOHmDl76/NEyC/UP\nAuwUDWC/ddkOsK/kpJdzUB9f+h87KL77yxMlHDGThOowiMln3fmLYeEc/E6/\nRGl9\r\n=kQ6S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGH6IAehJrMPxtmgr+ue/la5NnPifYUBiecTJ7uC7YgQIhAItwPvFzareNI+N5wxZ0rKjac27YHCT4qsqjguuwaooM"}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm_3.2.25_1617305500758_0.6375259166733618"},"_hasShrinkwrap":false},"1.0.0":{"name":"@antongolub/esm","version":"1.0.0","description":"Tomorrow's ECMAScript modules today!","publishConfig":{"access":"public"},"keywords":["commonjs","ecmascript","export","import","modules","node","require"],"repository":{"type":"git","url":"git+https://github.com/standard-things/esm.git"},"license":"MIT","author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com"},"main":"esm.js","runkitExample":"require = require(\"esm\")(module)\nrequire(\"lodash-es\")","esm":true,"engines":{"node":">=6"},"scripts":{"prelint":"npm run pretest","prepare":"npm run build:prod","prepub":"npm run test:prod && npm run build:prod","pretest":"npm run build -- --test","pretest:prod":"npm run build:prod -- --test","build":"node script/build.js","build:prod":"npm run build -- --prod","clean":"node script/clean.js","lint":"eslint '**/*.{js,mjs}' --fix --quiet","pub":"node script/publish.js","test":"node script/test.js","test:prod":"node script/test.js --prod"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-optional-catch-binding":"^7.2.0","@babel/plugin-transform-arrow-functions":"^7.2.0","@babel/plugin-transform-block-scoping":"^7.4.4","@babel/plugin-transform-flow-strip-types":"^7.4.4","@babel/plugin-transform-runtime":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.9.6","@babel/register":"^7.4.4","@babel/runtime":"^7.4.5","@std/esm":"^0.25.5","@types/node":"^10.14.10","acorn":"^6.1.1","ava":"^1.4.1","babel-eslint":"^10.0.2","babel-loader":"^8.0.6","babel-plugin-transform-for-of-as-array":"^1.1.1","babel-plugin-transform-remove-console":"^6.9.4","babel-plugin-transform-remove-debugger":"^6.9.4","bluebird":"^3.5.5","chai":"^4.2.0","core-js":"^2.6.9","download":"^7.1.0","eslint":"^5.16.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.18.0","eslint-plugin-node":"^7.0.1","execa":"^1.0.0","express":"^4.17.1","flow-remove-types":"^1.2.3","fs-extra":"^7.0.1","global-prefix":"^1.0.2","globby":"^8.0.2","golden-fleece":"^1.0.9","hard-rejection":"^1.0.0","html-minifier":"^3.5.21","husky":"^2.7.0","jasmine":"^3.4.0","jest":"^24.8.0","json-6":"^1.0.2","lab":"^17.3.0","lit-node":"^0.1.1","mocha":"^5.2.0","mock-require":"^3.0.3","mock-stdio":"^1.0.3","module-alias":"^2.2.0","newrelic":"^4.13.1","nop":"^1.0.0","nyc":"^14.1.1","optimize-js-plugin":"0.0.4","pm2":"3.2.4","postcss":"^7.0.17","proxyquire":"^2.1.0","require-inject":"^1.4.4","requizzle":"^0.2.2","rewire":"^4.0.1","semver":"^5.7.0","sinon":"^7.3.2","sleep":"^6.1.0","sqreen":"^1.31.0","strip-ansi":"^5.2.0","terser":"^3.17.0","terser-webpack-plugin":"^1.3.0","test262-parser":"^2.2.0","trash":"^4.3.0","ts-node":"^7.0.1","typescript":"^3.5.2","unexpected":"11.5.0","unused-webpack-plugin":"2.2.0","webpack":"^4.35.2","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","yargs":"^12.0.5"},"gitHead":"266390e0df182d5080adec7ed0f344b54fedfe60","bugs":{"url":"https://github.com/standard-things/esm/issues"},"homepage":"https://github.com/standard-things/esm#readme","_id":"@antongolub/esm@1.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.7.4","dist":{"integrity":"sha512-MjRwS+mH3//dTJMweU6VlTs4NoouqABBWRixtKw2sW8LGi235qIpa1L/RVef4OY0b9260aQg9eSaMHSgP5Mnqw==","shasum":"a9def42293e39841906f94db927057749a4f5880","tarball":"https://registry.npmjs.org/@antongolub/esm/-/esm-1.0.0.tgz","fileCount":6,"unpackedSize":313438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZiIgCRA9TVsSAnZWagAA5QIP/jDs+ru1957s3QhJFXgM\nS/PufEZ4AR9AVIVBRK4DsFYg0y92Gdcf/vLDWoonuuH5TCuGc4o3PhvktYfa\nLiyqCCo8ghRlsgQ9q1T6Mi8vpSjGj6dUhZYqrKlREzbMO+t+XMr/mz4pE5Mr\nvrYa4458uwbaa0ZqYOWOiwzQltWo4TOac6eBhhML4anvUX7M6OeGpjFvupRe\nhxI1QltvfXOAU+2Q20i4EEB30Cmj7/aFh0M8UFaxjBFZ7CHtwpJ8YII1UXAv\n/uVsvjPrA2ZKOY0pAeHx1okZ/WGrg+OUZK3vQ70K2ugKSohpaJk4XFgrwAKX\nv+kwo8c8p0tgmcGxKHVhy39CnAksAax1hmxf5Cy4eFc/tgWPhnlbaEnKJsx4\nX0ftl3+YioYriXCuccTrQJJfSedDgFVLwuJovgki6dq2ChcSLzH4A5CKc0hN\n7OMIt6FPXUjmSHrhLpOKOwcuFOvNGs1NDvzEfcDbookRI7THX4Co+EtHLJYs\nEHlNs0o4AlirNghpVJkfJXOqOeshXjyuce7+//EbuAxWu3uBfTOwyTijraXv\n0Bz+w3jxfSUqc2o/oVauJac9bzUoZoj8LTuHYyl1YS+7pxGhx13PxvLA+8Ou\nU/A5GJYQZHgBolek3M2HpJQWbQvCnAL+xcrCWryiIjxuLoUAvtbudwQMFAdc\nMpej\r\n=Nsre\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlkf/m+M8dINOVTw/UMNyTsq01M10YN/mXiwIVE9XwagIhAP+ISDZEh3BadOGZgqF3P9HpO8yfOuoxf1X5A84OgGeW"}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm_1.0.0_1617306143765_0.608036118530936"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-01T19:31:40.692Z","3.2.25":"2021-04-01T19:31:40.935Z","modified":"2022-04-04T14:23:09.876Z","1.0.0":"2021-04-01T19:42:23.979Z"},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"description":"Tomorrow's ECMAScript modules today!","homepage":"https://github.com/standard-things/esm#readme","keywords":["commonjs","ecmascript","export","import","modules","node","require"],"repository":{"type":"git","url":"git+https://github.com/standard-things/esm.git"},"author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com"},"bugs":{"url":"https://github.com/standard-things/esm/issues"},"license":"MIT","readme":"# esm\n\nThe brilliantly simple, babel-less, bundle-less ECMAScript module loader.\n\n> `esm` is the world’s most advanced ECMAScript module loader.\nThis fast, production ready, zero dependency loader is all you need to support\nECMAScript modules in Node 6+. See the release [post](https://medium.com/web-on-the-edge/tomorrows-es-modules-today-c53d29ac448c)\nand [video](https://www.youtube.com/watch?v=JcZ-FzfDq8A#t=5) for details!\n\nInstall\n---\n\n* __New projects__\n\n  Run `npm init esm` or `yarn create esm`.\n\n  :bulb: Use the `-y` flag to answer “yes” to all prompts.\n\n* __Existing projects__\n\n  Run `npm i esm` or `yarn add esm`.\n\nGetting started\n---\n\nThere are two ways to enable `esm`.\n\n1. Enable `esm` for packages:\n\n   Use `esm` to load the main ES module and export it as CommonJS.\n\n    __index.js__\n    ```js\n    // Set options as a parameter, environment variable, or rc file.\n    require = require(\"esm\")(module/*, options*/)\n    module.exports = require(\"./main.js\")\n    ```\n    __main.js__\n    ```js\n    // ESM syntax is supported.\n    export {}\n    ```\n    :bulb: These files are automagically created with `npm init esm` or `yarn create esm`.\n\n2. Enable `esm` for local runs:\n\n    ```shell\n    node -r esm main.js\n    ```\n    :bulb: Omit the filename to enable `esm` in the REPL.\n\nFeatures\n---\n\n:clap: By default, :100: percent CJS interoperability is enabled so you can get stuff done.<br>\n:lock: `.mjs` files are limited to basic functionality without support for `esm` options.\n\nOut of the box `esm` just works, no configuration necessary, and supports:\n\n* Passing all applicable [test262](https://github.com/tc39/test262) compliance tests\n* [`import`](https://ponyfoo.com/articles/es6-modules-in-depth#import)/[`export`](https://ponyfoo.com/articles/es6-modules-in-depth#export)\n* [`import.meta`](https://github.com/tc39/proposal-import-meta)\n* [Dynamic `import`](https://github.com/tc39/proposal-dynamic-import)\n* [Live bindings](https://ponyfoo.com/articles/es6-modules-in-depth#bindings-not-values)\n* [File URI scheme](https://en.wikipedia.org/wiki/File_URI_scheme)\n* Node `stdin`, [`--eval`](https://nodejs.org/api/cli.html#cli_e_eval_script), [`--print`](https://nodejs.org/api/cli.html#cli_p_print_script) flags\n* Node [`--check`](https://nodejs.org/api/cli.html#cli_c_check) flag _(Node 10+)_\n\nOptions\n---\n\nSpecify options with one of the following:\n\n* `\"esm\"` field in `package.json`\n* CJS/ESM in an `.esmrc.js`, `.esmrc.cjs`, or `.esmrc.mjs` file\n* [JSON6](https://github.com/d3x0r/json6) in an `.esmrc` or `.esmrc.json` file\n* JSON6 or file path in the `ESM_OPTIONS` environment variable\n* `ESM_DISABLE_CACHE` environment variable\n\n<table>\n<tr>\n  <td colspan=\"2\"><code>{</code></td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"cjs\":true</code></td>\n  <td>\n    <p>A boolean or object for toggling CJS features in ESM.</p>\n    <details>\n      <summary>Features</summary>\n      <table>\n      <tr>\n        <td colspan=\"2\"><code>{</code></td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"cache\":true</code></td>\n        <td>\n          <p>A boolean for storing ES modules in <code>require.cache</code>.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"esModule\":true</code></td>\n        <td>\n          <p>A boolean for <code>__esModule</code> interoperability.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"extensions\":true</code></td>\n        <td>\n          <p>A boolean for respecting <code>require.extensions</code> in ESM.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"mutableNamespace\":true</code></td>\n        <td>\n          <p>A boolean for mutable <a href=\"https://ponyfoo.com/articles/es6-modules-in-depth#import-all-the-things\">namespace objects</a>.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"namedExports\":true</code></td>\n        <td>\n          <p>A boolean for <a href=\"https://ponyfoo.com/articles/es6-modules-in-depth#importing-named-exports\">importing named exports</a> of CJS modules.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"paths\":true</code></td>\n        <td>\n          <p>A boolean for following CJS <a href=\"https://github.com/nodejs/node-eps/blob/master/002-es-modules.md#432-removal-of-non-local-dependencies\">path rules</a> in ESM.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"vars\":true</code></td>\n        <td>\n          <p>A boolean for <code>__dirname</code>, <code>__filename</code>, and <code>require</code> in ESM.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"dedefault\":false</code></td>\n        <td>\n          <p>A boolean for requiring ES modules without the dangling <code>require().default</code>.</p>\n        </td>\n      </tr>\n      <tr>\n        <td valign=\"top\"><code>\"topLevelReturn\":false</code></td>\n        <td>\n          <p>A boolean for top-level <code>return</code> support.</p>\n        </td>\n      </tr>\n      <tr>\n        <td colspan=\"2\"><code>}</code></td>\n      </tr>\n      </table>\n    </details>\n  </td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"mainFields\":[\"main\"]</code></td>\n  <td>\n    <p>An array of fields checked when importing a package.</p>\n  </td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"mode\":\"auto\"</code></td>\n  <td>\n    <p>A string mode:</p>\n    <ul>\n      <li><code>\"auto\"</code> detect files with <code>import</code>, <code>import.meta</code>, <code>export</code>,<br><a href=\"https://github.com/tc39/proposal-modules-pragma\"><code>\"use module\"</code></a>, or <code>.mjs</code> as ESM.</li>\n      <li><code>\"all\"</code> files besides those with <code>\"use script\"</code> or <code>.cjs</code> are treated as ESM.</li>\n      <li><code>\"strict\"</code> to treat <strong>only</strong> <code>.mjs</code> files as ESM.</li>\n    </ul>\n  </td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"await\":false</code></td>\n  <td>\n    <p>A boolean for <a href=\"https://github.com/tc39/proposal-top-level-await\">top-level <code>await</code></a> in modules without ESM exports. <em>(Node 10+)</em></p>\n  </td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"force\":false</code></td>\n  <td>\n    <p>A boolean to apply these options to all module loads.</p>\n  </td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"wasm\":false</code></td>\n  <td>\n    <p>A boolean for <a href=\"https://nodejs.org/api/globals.html#globals_webassembly\">WebAssembly</a> module support. <em>(Node 8+)</em></p>\n  </td>\n</tr>\n<tr>\n  <td colspan=\"2\"><code>}</code></td>\n</tr>\n</table>\n\nDevOpts\n---\n\n<table>\n<tr>\n  <td colspan=\"2\"><code>{</code></td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"cache\":true</code></td>\n  <td>\n    <p>A boolean for toggling cache creation or a cache directory path.</p>\n  </td>\n</tr>\n<tr>\n  <td valign=\"top\"><code>\"sourceMap\":false</code></td>\n  <td>\n    <p>A boolean for including inline source maps.</p>\n  </td>\n</tr>\n<tr>\n  <td colspan=\"2\"><code>}</code></td>\n</tr>\n</table>\n\nTips\n---\n\n### Bundling\n\n* For bundlers like [`browserify`](http://browserify.org/)+[`esmify`](https://github.com/mattdesl/esmify),\n  [`parcel-bundler`](https://parceljs.org/), and [`webpack`](https://webpack.js.org/)\n  add a `\"module\"` field to `package.json` pointing to the main ES module.\n  ```json\n  \"main\": \"index.js\",\n  \"module\": \"main.js\"\n  ```\n\n  :bulb: This is automagically done with `npm init esm` or `yarn create esm`.\n\n### Extensions\n\n* Enable `esm` for [`wallaby.js`](https://wallabyjs.com/) following their\n  [integration example](https://wallabyjs.com/docs/integration/node.html#es-modules).\n\n### Loading\n\n* Load `esm` before loaders/monitors like\n  [`@babel/register`](https://babeljs.io/docs/en/next/babel-register.html),\n  [`newrelic`](https://github.com/newrelic/node-newrelic),\n  [`sqreen`](https://docs.sqreen.io/sqreen-for-nodejs/getting-started-2/), and\n  [`ts-node`](https://github.com/TypeStrong/ts-node#programmatic).\n\n* Load `esm` for [`jasmine`](https://jasmine.github.io/) using the\n  [`\"helpers\"`](https://jasmine.github.io/setup/nodejs.html#configuration)\n  field in `jasmine.json`:\n  ```json\n  \"helpers\": [\n    \"node_modules/esm\"\n  ]\n  ```\n\n* Load `esm` with “node-args\" options of:<br>\n  - [`pm2`](https://pm2.io/doc/en/runtime/reference/pm2-cli/#pm2-flags): `--node-args=\"-r esm\"`\n\n* Load `esm` with “require” options of\n  [`ava`](https://github.com/avajs/ava/blob/master/docs/recipes/es-modules.md),\n  [`mocha`](https://mochajs.org/#-require-module-r-module),\n  [`nodemon`](https://nodemon.io/),\n  [`nyc`](https://github.com/istanbuljs/nyc#require-additional-modules),\n  [`qunit`](https://github.com/qunitjs/qunit/releases/tag/2.6.0),\n  [`tape`](https://github.com/substack/tape#preloading-modules), and\n  [`webpack`](https://webpack.js.org/api/cli/#config-options).\n\n  :bulb: Builtin `require` cannot sideload `.mjs` files. However, `.js` files\n  can be sideloaded or `.mjs` files may be loaded with dynamic `import`.\n","readmeFilename":"README.md"}