@ts-tools/transpile
v6.0.0
Published
TypeScript transpilation helpers.
Downloads
8,790
Readme
@ts-tools/transpile
TypeScript transpilation helpers.
Getting started
Install the library in an existing TypeScript project:
npm i @ts-tools/transpile
Then, import its programmatic API to use:
import { transpileCached } from '@ts-tools/transpile';
const { outputText, sourceMapText } = transpileCached({
fileName: '/project/src/file.ts',
cachedDirectoryPath: '/project/node_modules/.cache/whatever',
});
License
MIT