@wraith13/evil-tsconfig.paths.ts
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

evil-tsconfig.paths.ts

When import, resolve paths in tsconfig.json for TypeScript with Node.js

How to install for your project by npm

npm install @wraith13/evil-tsconfig.paths.ts --save

How to install for your project by git submodule

git submodule add https://github.com/wraith13/evil-tsconfig.paths.ts evil-tsconfig.paths.ts

How to use

import tsconfigJson from "./tsconfig.json";
import { applyPaths } from "evil-tsconfig.paths.ts"; // or "@wraith13/evil-tsconfig.paths.ts" when npm
applyPaths(tsconfigJson.compilerOptions);

License

Boost Software License

Related projects

Package Sidebar

Install

npm i @wraith13/evil-tsconfig.paths.ts

Weekly Downloads

1

Version

2.0.0

License

BSL-1.0

Unpacked Size

9.73 kB

Total Files

10

Last publish

Collaborators

  • wraith13