{"name":"esbuild-node-loader","version":"0.4.0","description":"Transpile TypeScript to ESM with Node.js loader","main":"./loader.mjs","funding":"https://github.com/sponsors/antfu","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","sideEffects":false,"bugs":{"url":"https://github.com/antfu/esbuild-node-loader/issues"},"homepage":"https://github.com/antfu/esbuild-node-loader#readme","repository":{"type":"git","url":"git+https://github.com/antfu/esbuild-node-loader.git"},"exports":{".":{"import":"./loader.mjs"}},"keywords":["node-loader"],"scripts":{"release":"bumpp --commit --push --tag","lint":"eslint \"{src,test}/**/*.ts\"","lint:fix":"npm run lint -- --fix","test":"node --experimental-loader ./loader.mjs test/entry.ts"},"devDependencies":{"@antfu/eslint-config":"^0.9.0","@antfu/ni":"^0.9.3","@types/node":"^16.9.6","bumpp":"^7.1.1","eslint":"^7.32.0","execa":"^5.1.1","typescript":"^4.4.3","uvu":"^0.5.1"},"dependencies":{"esbuild":"^0.13.2"},"gitHead":"582077eb928289d27b18db66f877cfdd0d2e2deb","_id":"esbuild-node-loader@0.4.0","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-VWDbFuvjRAeh7xEgI0eLWUyaFXRn6pRBoNkx6OjKmFvWJIVJoGrbt8GsgaKysi8lkxUoqXqgpfjumAa6EQON5Q==","shasum":"a953216ae4f3d1da0e1b35ce21399baef4c734eb","tarball":"http://registry-npm.ywwl.com/esbuild-node-loader/download/esbuild-node-loader-0.4.0.tgz","fileCount":4,"unpackedSize":5282,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCXLNoCYk+RDrOFIm/8FvXn3Q1fLBzBlDnQcCJl5fvgAiEAiJV8AlWiKHnZv0b9dVltDr81FEQ1vAbbFex0L4roJtI="}],"size":2476,"noattachment":false,"key":"/esbuild-node-loader/-/esbuild-node-loader-0.4.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-node-loader_0.4.0_1632580691793_0.5928794084039544"},"_hasShrinkwrap":false,"readme":"# esbuild-node-loader\n\n[![NPM version](https://img.shields.io/npm/v/esbuild-node-loader?color=a1b858&label=)](https://www.npmjs.com/package/esbuild-node-loader)\n\nTranspile TypeScript to ESM with [Node.js loader hooks](https://nodejs.org/api/esm.html#esm_transpiler_loader) on the fly.\n\nInspired by [`esbuild-register`](https://github.com/egoist/esbuild-register) but for **Node.js ESM** instead of CJS.\n\n## Features\n\n- Supports `.ts`, `.tsx` and `.json`\n- Support extension also resolving (can import modules without extension)\n\n## Usage\n\n```bash\nnpm i esbuild-node-loader -D\n```\n\n```bash\nnode --experimental-loader esbuild-node-loader file.ts\n```\n\nOr use with [esmo](https://github.com/antfu/esno):\n\n```bash\nnpx esmo file.ts\n```\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\n[MIT](./LICENSE) License © 2021 [Anthony Fu](https://github.com/antfu)\n","publish_time":1632580691940,"_cnpm_publish_time":1632580691940,"dist-tags":{"latest":"0.8.0"}}