# loop-grid-suppressor

> Transform for suppressing selected loops on loop-grid.

Latest version **1.1.0** (published 2014-10-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install loop-grid-suppressor
pnpm add loop-grid-suppressor
yarn add loop-grid-suppressor
bun add loop-grid-suppressor
```

## 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.1.0 |
| Published | 2014-10-31 |
| First published | 2014-10-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Matt McKegg |
| Maintainers | mmckegg |

## Links

- npm: https://www.npmjs.com/package/loop-grid-suppressor
- Repository: https://github.com/mmckegg/loop-grid-suppressor
- Issues: https://github.com/mmckegg/loop-grid-suppressor/issues
- npm.io page: https://npm.io/package/loop-grid-suppressor

## Dependencies (2)

- [observ](https://npm.io/package/observ.md) ^0.2.0
- [array-grid](https://npm.io/package/array-grid.md) ^1.4.0

## Recent versions

- 1.1.0 (latest) — 2014-10-31
- 1.0.0 — 2014-10-22

## README

loop-grid-suppressor
===

Transform for suppressing selected loops on [loop-grid](https://github.com/mmckegg/loop-grid).

## API

```js
var Suppressor = require('loop-grid-suppressor')
```

### `var suppressor = Suppressor(transform, shape[, stride])`

Pass `loopGrid.transform` to this constructor.

Returns an extended [observ](https://github.com/raynos/observ) instance containing instances of [array-grid](https://github.com/mmckegg/array-grid) with `true` values at coords where currently suppressed.

### `suppressor.start(indexes, done)`

Calls `transform` with a function that suppresses all `indexes` specified.

### `suppressor.stop()`

Release suppression `transform`.

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