@ts-tools/transpile

5.0.2 • Public • Published

@ts-tools/transpile

npm version

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ts-tools/transpile

Weekly Downloads

2,062

Version

5.0.2

License

MIT

Unpacked Size

34.6 kB

Total Files

38

Last publish

Collaborators

  • avi.vahl