{"name":"esbuild-node-loader","version":"0.4.3","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"},"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":"e240bd0df9ce7a97610bde8924882716cf6f14ef","_id":"esbuild-node-loader@0.4.3","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Jzs+nTsq7z4GqUTwlh8guP03EYTAhoB9r+rwb3JpVcNVG1/2fNE8Tb40syJ2nLY2yam+lZjsoh7FYd+2dGjbjg==","shasum":"41a1b4559b04dc0bf554e4a9630daf9759d617d3","tarball":"http://registry-npm.ywwl.com/esbuild-node-loader/download/esbuild-node-loader-0.4.3.tgz","fileCount":4,"unpackedSize":6296,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjceniJdzEDpJZrkqU9bNUEzwUBSGgp4ObmZrwntZz2wIhAKrGQRyBcfb++Q376wDA59pCUTeQKChjEFq53BNFQP/Q"}],"size":2714,"noattachment":false,"key":"/esbuild-node-loader/-/esbuild-node-loader-0.4.3.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.3_1635183391243_0.21709915384138334"},"_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":1635183391415,"_cnpm_publish_time":1635183391415,"dist-tags":{"latest":"0.8.0"}}