# generatorjs

> A super simple generator. It takes a source of files that are ejs templates and a destination directory along with some options (for the templates). That's it.

Latest version **0.2.1** (published 2014-06-13) · 0 weekly downloads

## Install

```sh
npm install generatorjs
pnpm add generatorjs
yarn add generatorjs
bun add generatorjs
```

## 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.2.1 |
| Published | 2014-06-13 |
| First published | 2014-06-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | Daniel Fagnan |
| Maintainers | thehydroimpulse |

## Links

- npm: https://www.npmjs.com/package/generatorjs
- npm.io page: https://npm.io/package/generatorjs

## Dependencies (6)

- [ejs](https://npm.io/package/ejs.md) ^1.0.0
- [glob](https://npm.io/package/glob.md) ^4.0.2
- [async](https://npm.io/package/async.md) ^0.9.0
- [colors](https://npm.io/package/colors.md) ^0.6.2
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.0
- [bluebird](https://npm.io/package/bluebird.md) ^2.1.1

## Recent versions

- 0.2.1 (latest) — 2014-06-13
- 0.2.0 — 2014-06-11
- 0.1.0 — 2014-06-11

## README

# Generator

A super simple generator. It takes a source of files that are ejs templates and a destination directory along with some options (for the templates). That's it.


## Installation

Npm:

```bash
npm install generatorjs
```

## Getting Started

Require generatorjs:

```js
var generator = require('generatorjs');
```

Create a new generator:

```js
generator(__dirname + '/templates')
  .dest(process.cwd())
  .vars({ name: 'foo' })
  .run()
  .then(function() {
    // success!
  });
```

By default, generatorjs also logs what it's doing.

## Tests

```
make test
```

## License

MIT

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