{"name":"esbuild-node-loader","version":"0.4.2","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":"dfe15180bb553a5772dfeaa6c3811627ebe26352","_id":"esbuild-node-loader@0.4.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-3SieWnHgnhMKwn+qG2AjQq3Yf9RrgHeKGxGLauaLKfBTCpbm4nJbUt4CV3waHcRizILzlpZbESLkY9rnFHr6/w==","shasum":"ee8f3c0da187f593e0166ffaa0a1f2e1edf0fcd3","tarball":"http://registry-npm.ywwl.com/esbuild-node-loader/download/esbuild-node-loader-0.4.2.tgz","fileCount":4,"unpackedSize":5420,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChxRXYpYYoDPidC8cBB+e+n+V+VJXcWC73FIvumVaFOgIgKZkuAaVOVG8HHsiIoRlJPHbj2VpABV5sIkt8rmMwkE8="}],"size":2530,"noattachment":false,"key":"/esbuild-node-loader/-/esbuild-node-loader-0.4.2.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.2_1633120656411_0.35960139827402515"},"_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":1633120656550,"_cnpm_publish_time":1633120656550,"dist-tags":{"latest":"0.8.0"}}