# ned-transpile

> Node project transpiler for ned.

Latest version **1.0.6** (published 2017-02-09) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install ned-transpile
pnpm add ned-transpile
yarn add ned-transpile
bun add ned-transpile
```

Provides the command `ned-transpile`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2017-02-09 |
| First published | 2016-10-06 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 17 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Johnny Hauser |
| Maintainers | m59 |
| Keywords | ned, transpile, project, opinionated, babel, build, compile |

## Links

- npm: https://www.npmjs.com/package/ned-transpile
- Repository: https://github.com/m59peacemaker/ned-transpile
- Homepage: https://github.com/m59peacemaker/ned-transpile#readme
- Issues: https://github.com/m59peacemaker/ned-transpile/issues
- npm.io page: https://npm.io/package/ned-transpile

## Dependencies (17)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [throo](https://npm.io/package/throo.md) ^1.0.0
- [gulp-if](https://npm.io/package/gulp-if.md) ^2.0.1
- [through2](https://npm.io/package/through2.md) ^2.0.1
- [vinyl-fs](https://npm.io/package/vinyl-fs.md) ^2.4.4
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [gulp-babel](https://npm.io/package/gulp-babel.md) ^6.1.2
- [figures-colored](https://npm.io/package/figures-colored.md) ^1.0.0
- [gulp-sourcemaps](https://npm.io/package/gulp-sourcemaps.md) ^1.6.0
- [fs-extra-promise](https://npm.io/package/fs-extra-promise.md) ^0.4.0
- [stream-to-promise](https://npm.io/package/stream-to-promise.md) ^2.2.0
- [babel-plugin-root-require](https://npm.io/package/babel-plugin-root-require.md) ^1.0.4
- [babel-plugin-transform-strict-mode](https://npm.io/package/babel-plugin-transform-strict-mode.md) ^6.11.3
- [babel-plugin-node-sourcemap-support](https://npm.io/package/babel-plugin-node-sourcemap-support.md) 0.0.0
- [babel-plugin-transform-async-to-generator](https://npm.io/package/babel-plugin-transform-async-to-generator.md) ^6.16.0
- [babel-plugin-syntax-trailing-function-commas](https://npm.io/package/babel-plugin-syntax-trailing-function-commas.md) ^6.13.0
- [babel-plugin-transform-es2015-modules-commonjs](https://npm.io/package/babel-plugin-transform-es2015-modules-commonjs.md) ^6.18.0

## 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

- 1.0.6 (latest) — 2017-02-09
- 1.0.5 — 2016-11-27
- 1.0.4 — 2016-11-15
- 1.0.3 — 2016-11-15
- 1.0.2 — 2016-10-11
- 1.0.1 — 2016-10-06
- 1.0.0 — 2016-10-06

## README

# ned-transpile

An opinionated and simple node project transpiler built on top of [babel](https://babeljs.io) for [ned](https://www.npmjs.com/package/ned).

Use with Node => 6.0

- provides async/await
- completes es6 support
- sourcemap support
- provides project root relative requires
- forces strict mode

## install

```
npm install ned-transpile
```

## example

```sh
cd my-project
# transpile ./src to ./build (default)
ned-transpile
```

```sh
cd my-project
ned-transpile src foo/build
```

```js
const transpile = require('ned-transpile')

transpile({
  src: srcPath,
  dest: destPath,
  entries: ['index.js', 'bin/foo.js']
}).then(() => {
  console.log('Done!')
})
```

## cli help

```sh
  Usage: ned-transpile [options] [src] [dest]

  Options:

    -h, --help          output usage information
    -e, --entry <path>  you may specify this argument multiple times
    -v, --verbose       additional console logging

  Defaults:

    [src]  ./src
    [dest] ./build
```

## API

### `transpile(options)`

- `options: object`
  - `src: string` Path to directory containing a node project to be transpiled
  - `dest: string` Path to directory where transpiled project will be output
  - `entries: [], ['index.js]` Application entry points. Defaults to `index.js`.
  - `verbose: boolean, false` additional console logging
- **returns**: `promise`

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