Skip to content

wraith13/evil-tsconfig.paths.ts

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published