# bddy-core

> First class, Secondary category, Unrestricted building system.

Latest version **0.10.3** (published 2018-04-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install bddy-core
pnpm add bddy-core
yarn add bddy-core
bun add bddy-core
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.10.3 |
| Published | 2018-04-19 |
| First published | 2017-10-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 38.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Belleve Invis |
| Maintainers | be5invis |

## Links

- npm: https://www.npmjs.com/package/bddy-core
- Repository: https://github.com/caryll/bddy
- Homepage: https://github.com/caryll/bddy-core#readme
- Issues: https://github.com/caryll/bddy-core/issues
- npm.io page: https://npm.io/package/bddy-core

## Dependencies (5)

- [colors](https://npm.io/package/colors.md) ^1.1.2
- [throat](https://npm.io/package/throat.md) ^3.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^3.0.1
- [micromatch](https://npm.io/package/micromatch.md) ^3.1.0
- [child-process-promise](https://npm.io/package/child-process-promise.md) ^2.2.1

## Recent versions

- 0.10.3 (latest) — 2018-04-19
- 0.10.2 — 2018-04-15
- 0.10.0 — 2018-04-14
- 0.9.2 — 2018-04-13
- 0.9.1 — 2018-01-26
- 0.9.0 — 2018-01-11
- 0.8.0 — 2017-10-19
- 0.7.0 — 2017-10-16
- 0.6.3 — 2017-10-16
- 0.6.2 — 2017-10-16
- 0.6.1 — 2017-10-16
- 0.6.0 — 2017-10-10
- 0.5.1 — 2017-10-10
- 0.5.0 — 2017-10-10

## README

# *bddy*: Build Directly

*bddy* is a simple building toolkit written in Node.JS.

## Installation

Install as a global command: `npm install bddy -g`;

Install locally: `npm install bddy`.

## Writing recipe

```js
// bddy.js
module.exports = function(ctx, the, argv){
    the.file(`out/*.js`).def(async function(target, $){
        const [_, $in] = await $.need(target.dir, `src/${target.$1}.js`);
        await $.run(`uglify`, $in, [`-o`, ${target}]);
    })
    the.virt(`start`).def(async function(target, $){
        await $.need(`out/a.js`, `out/b.js`, `out/c.js`)
    })
}
```

Type command `bddy` to initiate the build.

### Programmatically use *bddy*

```js
#!/usr/bin/env node

"use strict";
const cli = require("bddy/cli");
cli(require("./bddy"), ['start']);
```

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