# genomatic

> Utility methods for working with Generator functions, such as bind(), is(), etc

Latest version **1.0.0** (published 2016-05-15) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2016-05-15 |
| First published | 2016-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ramesh Nair |
| Maintainers | hiddentao |
| Keywords | generator, function, tools, utilities, bind |

## Links

- npm: https://www.npmjs.com/package/genomatic
- Repository: https://github.com/hiddentao/genomatic
- Issues: https://github.com/hiddentao/genomatic/issues
- npm.io page: https://npm.io/package/genomatic

## Recent versions

- 1.0.0 (latest) — 2016-05-15

## README

# genomatic

[![Build Status](https://secure.travis-ci.org/hiddentao/genomatic.png)](http://travis-ci.org/hiddentao/genomatic)

Utility methods for working with Generator functions, such as bind(), is(), etc.

## Features

* Browser-friendly
* No other dependencies

## Installation

**This package requires Node 4 or above**

```bash
$ npm install genomatic
```

## API

* **genomatic.isGenFn(fn)**
  * Returns `true` if `fn` is a generator function, `false` otherwise.

* **genomatic.bind(fn, ctx)**
  * Bind `fn` to `ctx`, and return the bound function.
  * If `fn` is a generator function the a generator function is returned.
  * If `fn` is not a generator function then a non-generator function is returned.

## Building

To run the tests:

    $ npm install
    $ npm test

## Contributing

Contributions are welcome! Please see [CONTRIBUTING.md](https://github.com/hiddentao/genomatic/blob/master/CONTRIBUTING.md).

## License

MIT - see [LICENSE.md](https://github.com/hiddentao/genomatic/blob/master/LICENSE.md)

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