# is-genobj

> validate an es6 generator object

Latest version **0.1.0** (published 2014-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-genobj
pnpm add is-genobj
yarn add is-genobj
bun add is-genobj
```

## 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.1.0 |
| Published | 2014-06-26 |
| First published | 2014-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Daniel Jackson |
| Maintainers | ninegrid |
| Keywords | es6, harmony, generators, validate |

## Links

- npm: https://www.npmjs.com/package/is-genobj
- Repository: http://github.com/ninegrid/is-genobj
- Homepage: https://github.com/ninegrid/is-genobj
- Issues: https://github.com/ninegrid/is-genobj/issues
- npm.io page: https://npm.io/package/is-genobj

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-06-26

## README

is-genobj
==========

Validate an es6 generator object.

```javascript
'use strict'
var bint = require('bignum'),
    isGobj = require('is-genobj');

// nifty
var fib = function*(){
  let x = bint(0), y = bint(1), z = bint(0);
  while(true){
    z = x.add(y);
    x = y;
    y = z;
    yield y;
  }
};

// no
console.log("Is it a generator object? " + isGobj(fib);

// yes
console.log("Is it a generator object? " + isGObj(fib());
```

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