{"name":"load-tsconfig","version":"0.2.0","description":"Load tsconfig.json","publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format esm --target node14","build":"pnpm build-fast -- --dts-resolve","test":"npm run build-fast && vitest run","prepublishOnly":"pnpm build"},"license":"MIT","devDependencies":{"@egoist/prettier-config":"1.0.0","@types/node":"14.18.9","kanpai":"0.10.1","prettier":"2.5.1","tsup":"5.11.11","typescript":"4.5.5","vitest":"0.2.3"},"dependencies":{"strip-json-comments":"4.0.0"},"engines":{"node":">=14"},"gitHead":"84f9afa6ae28071aadfb09594cd80e8716fe3d54","_id":"load-tsconfig@0.2.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-8w9Myeg1QSnbW6wUo0ljRzObi9D2ADtRH6jgF7cfazdFhAf+cw/y4PfnbgS6xkw3rxQ75KWoabxDdJUJnsi3pQ==","shasum":"fd9a6f700a3ad5d27b8cb7b633d68a9ebb0efb1a","tarball":"http://registry-npm.ywwl.com/load-tsconfig/download/load-tsconfig-0.2.0.tgz","fileCount":5,"unpackedSize":6061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8QnoCRA9TVsSAnZWagAA3g4P/3sU8EG2eBN/Tsch/M7g\nZ5bP/zZV9LpXDwCKSfIftmDwOwZAJVHqeZRTvBymx6qd6br4Gpmp2e+KIcEk\n6EZLcs5T7jO+3B/DkymHuGKMxWcpONLWo5C63zOq1JDYpoCJURWyKRl2JmNd\nnMChnAZLIxl24tr3z8qhHdClgbR4bsoKzCGchgNhTqdzy3XN4Me2NGMYDEw2\nhsBZjGZ9Ggtj3C1h0+IEcUd5Vh8JLxGayqENpPWZgXgU7Fmy12O/KtqDbJw4\n3/L5rTV5qK2KFYk7wVqZaJG4pZNMSuL+OiWnjxA1rGHecVTBJ3DuTlt27bDI\nlZhFop7Gawl0F2rYEDUpiW9Bvkg73TZoSB4DOH+QTTz/pOupHEavodgRJPM0\nsc0ZTFBbZk7VCZzugeAcheBw802Pl0RtvIpf88+JDTBv3f0kC00rHXubEgzX\nVCh+PS7mhNnfnedw/SH7E/VMzZnHPrI7P3/+VKFNXimm7FqCPNBCaZn8vld9\noJcsgvJJAUE7R8kUXu/KF/T19geSPKMnew7XPuMqwxqvHlXuxdgPEuuBs3y8\nR6YczBxTJsHmLRPFyfbZ9/rsyNHf3ZYcgj4LitaKV1ENigzM9Nay9S29BY3f\nUunDPTzbKLyuUHoRSrZMy0O7Z8cvdDPXi9xuq/iavxD76beD/aHhJjVd9RuO\nHPYO\r\n=Yoo8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaBG1jnyZtIpO1dnTVK91N/7B6ojN2mhzdlIh0RJy0jgIhAPRQmzY72s3vq5qNuREazL9bjp459MW80B+ccmK28BaH"}],"size":2793,"noattachment":false,"key":"/load-tsconfig/-/load-tsconfig-0.2.0.tgz"},"_npmUser":{"name":"egoist","email":"0x142857@gmail.com"},"directories":{},"maintainers":[{"name":"egoist","email":"0x142857@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-tsconfig_0.2.0_1643186664612_0.21675569610701606"},"_hasShrinkwrap":false,"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# load-tsconfig\n\n[![npm version](https://badgen.net/npm/v/load-tsconfig)](https://npm.im/load-tsconfig) [![npm downloads](https://badgen.net/npm/dm/load-tsconfig)](https://npm.im/load-tsconfig)\n\n> Load `tsconfig.json`, light-weight and dependency-free.\n\n## Install\n\n```bash\nnpm i load-tsconfig\n```\n\n## Usage\n\n```ts\nimport { loadTsConfig } from \"load-tsconfig\"\n\nconst loaded = loadTsConfig(\".\")\n\n// loaded is null when no tsconfig is found, or:\n// loaded.path -> the path to the tsconfig file\n// loaded.data -> the merged tsconfig\n// loaded.files -> all discovered tsconfig files (via \"extends\")\n```\n\nBy default it loads `./tsconfig.json`, but you can use a custom filename:\n\n```ts\nloadTsConfig(\".\", \"tsconfig.build.json\")\n```\n\nFull type documentation: https://paka.dev/npm/load-tsconfig\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","publish_time":1643186664757,"_cnpm_publish_time":1643186664757,"dist-tags":{"latest":"0.2.5"}}