# script-builder

> A tool for building dynamic scripts.

Latest version **0.3.3** (published 2011-10-30) · 0 weekly downloads

## Install

```sh
npm install script-builder
pnpm add script-builder
yarn add script-builder
bun add script-builder
```

## 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.3.3 |
| Published | 2011-10-30 |
| First published | 2011-10-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.2.0-0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jussi Kalliokoski |
| Maintainers | jussi-kalliokoski |

## Links

- npm: https://www.npmjs.com/package/script-builder
- Repository: https://github.com/jussi-kalliokoski/script-builder
- Issues: http://github.com/jussi-kalliokoski/script-builder/issues
- npm.io page: https://npm.io/package/script-builder

## Recent versions

- 0.3.3 (latest) — 2011-10-30
- 0.3.2 — 2011-10-30
- 0.3.1 — 2011-10-30
- 0.3.0 — 2011-10-29
- 0.2.0 — 2011-10-09
- 0.1.0 — 2011-10-09

## README

# script-builder

Script builder is a tool for creating generated scripts. It's useful especially for large libraries, where you have to change many things when actually changing one thing, like a version number.

## Usage

```javascript

var builder = new require('script-builder').Builder();

builder.run("code here");

```

Generator instructions can be inserted like this:

```javascript

//#define XX

doSomething();

/*#ifdef XX */

doSomethingElse();

/*#js
return 1+1; // Prints out 2 into the the script
*/

//#else

waitWhat();

//#endif
```

No proper documentation yet, sorry, if you're interested, just drop me a message on GitHub.

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