{"name":"esbuild-node-loader","version":"0.3.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":"012283dd0d2d1094b5aeb756b22c9f938b2c218b","_id":"esbuild-node-loader@0.3.2","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-4Y6sTwvB5pH+A7gmpd/xzyPkOZC4nmEWRoGBi4BQoE0DhZvrrzHqSmT+jb4x7m1rwv4BCuNbajN13LN8D0PGoA==","shasum":"39918776ece52da31f771be9dbcedc459ccf814b","tarball":"http://registry-npm.ywwl.com/esbuild-node-loader/download/esbuild-node-loader-0.3.2.tgz","fileCount":4,"unpackedSize":5119,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJvpvMA97WhsLQN+B/R36y4/nSYarlNnXA+yYyIULfvAiEAj6hEcgkLT8+qQl2qVLUknNpI6b/qAgseBKZKAI6gPkI="}],"size":2399,"noattachment":false,"key":"/esbuild-node-loader/-/esbuild-node-loader-0.3.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.3.2_1632558373787_0.5777228462342958"},"_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":1632558373934,"_cnpm_publish_time":1632558373934,"dist-tags":{"latest":"0.8.0"}}