# @comsemrel/typescript-vfs-compiler

> TypeScript compiler based on in-memory file system

Latest version **0.2.0** (published 2017-04-05) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @comsemrel/typescript-vfs-compiler
pnpm add @comsemrel/typescript-vfs-compiler
yarn add @comsemrel/typescript-vfs-compiler
bun add @comsemrel/typescript-vfs-compiler
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2017-04-05 |
| First published | 2017-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Comandeer |
| Maintainers | comandeer |
| Keywords | typescript, compiler, vfs |

## Links

- npm: https://www.npmjs.com/package/@comsemrel/typescript-vfs-compiler
- Repository: https://github.com/ComSemRel/typescript-vfs-compiler
- Homepage: https://github.com/ComSemRel/typescript-vfs-compiler#readme
- Issues: https://github.com/ComSemRel/typescript-vfs-compiler/issues
- npm.io page: https://npm.io/package/@comsemrel/typescript-vfs-compiler

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [typescript](https://npm.io/package/typescript.md) ^2.2.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2017-04-05
- 0.1.0 — 2017-04-01

## README

# @comsemrel/typescript-vfs-compiler [![Build Status](https://travis-ci.org/ComSemRel/typescript-vfs-compiler.svg?branch=master)](https://travis-ci.org/ComSemRel/typescript-vfs-compiler) [![Dependency Status](https://david-dm.org/ComSemRel/typescript-vfs-compiler.svg)](https://david-dm.org/ComSemRel/typescript-vfs-compiler) [![devDependencies Status](https://david-dm.org/ComSemRel/typescript-vfs-compiler/dev-status.svg)](https://david-dm.org/ComSemRel/typescript-vfs-compiler?type=dev)

[![Greenkeeper badge](https://badges.greenkeeper.io/ComSemRel/typescript-vfs-compiler.svg)](https://greenkeeper.io/)

TypeScript compiler based on in-memory file system.

## Installation

Install it just like any other npm package:

```bash
npm install @comsemrel/typescript-vfs-compiler [--save-dev]
```

## Usage

This package exports compiler, which can be used **only** inside JS code:

```javascript
const compiler = require( '@comsemrel/typescript-vfs-compiler' ).default;

compiler( {
	'index.ts': 'console.log( 42 )'
} );
```

The first parameter is a "virtual filesystem" (what a fancy name!):

```javascript
{
	'someFile.ts': 'file content',
	'otherFile.ts': 'another file content'
}
```

The second parameter is an object containg [compiler options](https://www.typescriptlang.org/docs/handbook/compiler-options.html).

## License

See [LICENSE](./LICENSE) file for details.

---
_Source: https://npm.io/package/@comsemrel/typescript-vfs-compiler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
