1.4.0 • Published 4 months ago

tsconf-utils v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

tsconf-utils

npm version npm downloads

Install

npm install tsconf-utils

Usage

import {
  findTSConfig,
  findTSConfigSync,
  parseTSConfig,
  parseTSConfigSync,
  resolveTSConfig,
  resolveTSConfigSync
} from "tsconf-utils";

// Find tsconfig.json files
const path = await findTSConfig();

// Find tsconfig.json files synchronously
const path = findTSConfigSync();

// Parse tsconfig.json files
const config = await parseTSConfig(path);

// Parse tsconfig.json files synchronously
const config = parseTSConfigSync(path);

// Resolve tsconfig.json files (find and parse)
const config = await resolveTSConfig(path);

// Resolve tsconfig.json files synchronously (find and parse)
const config = resolveTSConfigSync(path);

📄 License

Published under MIT License.

1.4.0

4 months ago

1.3.0

4 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.2.1

11 months ago

1.0.1

1 year ago

1.0.0

1 year ago