2.0.0 • Published 1 year ago

@wraith13/evil-tsconfig.paths.ts v2.0.0

Weekly downloads
-
License
BSL-1.0
Repository
github
Last release
1 year ago

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

2.0.0

1 year ago