JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3015504
  • Score
    100M100P100Q190550F
  • License MIT

Load tsconfig.json

Package Exports

  • load-tsconfig
  • load-tsconfig/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (load-tsconfig) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


load-tsconfig

npm version npm downloads

Load tsconfig.json, light-weight and dependency-free.

Install

npm i load-tsconfig

Usage

import { loadTsConfig } from "load-tsconfig"

const loaded = loadTsConfig(".")

// loaded is null when no tsconfig is found, or:
// loaded.path -> the path to the tsconfig file
// loaded.data -> the merged tsconfig
// loaded.files -> all discovered tsconfig files (via "extends")

Full documentation: https://paka.dev/npm/load-tsconfig

Sponsors

sponsors

License

MIT © EGOIST