{"name":"esbuild-node-loader","version":"0.5.0","description":"Transpile TypeScript to ESM with Node.js loader","keywords":["node-loader"],"homepage":"https://github.com/antfu/esbuild-node-loader#readme","bugs":{"url":"https://github.com/antfu/esbuild-node-loader/issues"},"repository":{"type":"git","url":"git+https://github.com/antfu/esbuild-node-loader.git"},"funding":"https://github.com/sponsors/antfu","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"sideEffects":false,"exports":{".":{"import":"./loader.mjs"}},"main":"./loader.mjs","scripts":{"lint":"eslint \"{src,test}/**/*.ts\"","lint:fix":"npm run lint -- --fix","release":"bumpp --commit --push --tag","test":"node --experimental-loader ./loader.mjs test/entry.ts"},"dependencies":{"esbuild":"^0.13.3","tsconfig-paths":"^3.11.0"},"devDependencies":{"@antfu/eslint-config":"^0.9.0","@antfu/ni":"^0.9.3","@types/node":"^16.10.2","bumpp":"^7.1.1","eslint":"^7.32.0","execa":"^5.1.1","typescript":"^4.4.3","uvu":"^0.5.1"},"gitHead":"d900bb2ba0ceff204bd29ab41ae30943e41187bb","_id":"esbuild-node-loader@0.5.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-NKIaYsQw2D8WoaPWv7wbCXpM3QdYr7s0v7OZhAVmp5EnXIO8H+4CoPcrR6sm+Y3MP7slQcaKxipoQJeRuhQB+Q==","shasum":"bfa7a9f4f35557361cd6274d665d0e9d1e964c38","tarball":"http://registry-npm.ywwl.com/esbuild-node-loader/download/esbuild-node-loader-0.5.0.tgz","fileCount":4,"unpackedSize":7296,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcyguR3nkdE85qT5iuOte1PLwwwoRJb0yIuasppR/lMQIhAM4NPR0NUeJO+CxsjXBmYxOX7wBvl6Uv99aHvpJmUUcJ"}],"size":3040,"noattachment":false,"key":"/esbuild-node-loader/-/esbuild-node-loader-0.5.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.5.0_1635904995225_0.2704043116113699"},"_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":1635904995407,"_cnpm_publish_time":1635904995407,"dist-tags":{"latest":"0.8.0"}}