# on-the-fly

> find, build, & run es6 + typescript configs on the fly, in-memory, without a trace.

Latest version **0.0.11** (published 2017-03-30) · 0 weekly downloads

## Install

```sh
npm install on-the-fly
pnpm add on-the-fly
yarn add on-the-fly
bun add on-the-fly
```

Provides the command `on-the-fly`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2017-03-30 |
| First published | 2017-03-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | aretecode |

## Links

- npm: https://www.npmjs.com/package/on-the-fly
- npm.io page: https://npm.io/package/on-the-fly

## Dependencies (5)

- [flipfile](https://npm.io/package/flipfile.md) *
- [fuse-box](https://npm.io/package/fuse-box.md) ^1.4.1-beta.18
- [mono-root](https://npm.io/package/mono-root.md) 0.0.6
- [babel-core](https://npm.io/package/babel-core.md) *
- [babel-preset-env](https://npm.io/package/babel-preset-env.md) ^1.2.2

## Recent versions

- 0.0.11 (latest) — 2017-03-30
- 0.0.10 — 2017-03-30
- 0.0.5 — 2017-03-30
- 0.0.4 — 2017-03-30
- 0.0.3 — 2017-03-30
- 0.0.1 — 2017-03-29

## README

# on the fly
> use typescript or es6+ config (or any) file on the fly, built in-memory, required into memory, without a footprint.

## installation
```bash
yarn add on-the-fly global
npm i -s -g
```

## usage:

```js
const onTheFly = require('on-the-fly')
const dir = __dirname

// requires resolve(dir, config.js)
onTheFly('config.js', dir).then((config) => {
  console.log(config, typeof config)
})

// requires resolve(dir, config.js)
onTheFly('config.ts', dir).then((config) => {
  console.log(config, typeof config)
})
```

## cli
- simply: `onthefly config`
- or more verbose: `onthefly config.ts directoryHere`

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