open-index/open-npm huggingface dataset:
npm package: @pirxpilot/in-groups-of
Description: Return an array of arrays in groups of N
Latest version: 1.1.3


# in-groups-of

  Return an array of arrays in groups of N

## Installation

```
$ npm install @pirxpilot/in-groups-of
```

## Example

```js
var nums = [1,2,3,4,5,6,7,8,9,10];

inGroupsOf(nums, 5)
// => [[1,2,3,4,5], [6,7,8,9,10]]

inGroupsOf(nums, 4)
// => [[1,2,3,4], [5,6,7,8], [9,10]]

inGroupsOf(nums, 2)
//=> [[1,2], [3,4], [5,6], [7,8], [9,10]]
```

# License

  MIT
npm package: @pirxpilot/jshint
Description: Static analysis tool for JavaScript
Author: Anton Kovalyov
Latest version: 3.1.0

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# @pirxpilot/jshint

Gently modernized fork of [jshint]

## License

JSHint is licensed under [the MIT Expat license](https://www.gnu.org/licenses/license-list.html#Expat).

[jshint]: https://npmjs.org/package/jshint

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/jshint
[npm-url]: https://npmjs.org/package/@pirxpilot/jshint

[build-url]: https://github.com/pirxpilot/jshint/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/jshint/check.yaml?branch=pu

[deps-image]: https://img.shields.io/librariesio/release/npm/@pirxpilot/jshint
[deps-url]: https://libraries.io/npm/@pirxpilot%2Fjshint
npm package: @pirxpilot/k
Description: keyboard event dispatcher
Author: Amir Abu Shareb
Latest version: 1.0.1

# k

  keyboard event dispatcher.

## Installation

    $ component install yields/k

## Features

  - `super` keyword is `command` on mac and `ctrl` on anything else.
  - gmail like sequences `(a b c *)`
  - key combos
  - nice simple api
  - you can unbind anything you bind

## Example

```js
var k = require('k')(window);

// combos
k('command + shift + enter', fn);

// on OSX `super` will be replaced with `command`
// on other operating systems it will be replaced with `ctrl`.
k('super + k', fn);

// sequences
k('a b c', fn);
k('* b c', fn);
k('super + shift + a b c', fn);
```

## API

### k(el)

  Create a new keyboard dispatcher on the given `element`

### k(keys, fn)

  Bind the given `fn` on `keys`.

### .el

  the element `k` is listening on.

### #bind

  Bind `keys` with `fn(e)`.

### #unbind

  Unbind all listeners of `keys`,
  unbind `fn` with `keys`,
  unbind all listeners on all keys.

```js
k.unbind(); // => unbind all listeners
k.unbind('enter'); // => unbind all enter listeners
k.unbind('command + enter'); // => unbind all `command + enter` listeners
k.unbind('command + enter', fn); // => unbind `fn` just from `command + enter`
```

### #destroy

  Removes all listeners on `k.el`.
  Removes all `k.listeners`.

### #ignore

  this function is called just before any handlers are called,
  if it returns `true` no handlers will be called for this event.

  by default it returns `true` for `input`, `textarea` or `select`.

  if you still want `k` to handle `inputs` you can `k.ignore = false`.

### .shift

  `true` if `shiftKey` is down.

### .ctrl

  `true` if `ctrlKey` is down.

### .alt

  `true` if `alt` is down.

### .command

  `true` if `command` is down.

### .modifiers

  `null` if no modifiers are down, otherwise it's `true`.

### .super

  `true` if `command` or `ctrl` are down (osx / others)

## Tests

```bash
$ make test
```

## License

  MIT
npm package: @pirxpilot/leveldown
Description: A low-level Node.js LevelDB binding
Latest version: 3.1.1

@pirxpilot/leveldown
=========

[![level badge][level-badge]](https://github.com/level/awesome)
[![npm](https://img.shields.io/npm/v/@pirxpilot/leveldown.svg)](https://www.npmjs.com/package/@pirxpilot/leveldown)
![Node version](https://img.shields.io/node/v/@pirxpilot/leveldown.svg)
[![dependencies](https://david-dm.org/pirxpilot/leveldown.svg)](https://david-dm.org/pirxpilot//leveldown)
[![npm](https://img.shields.io/npm/dm/leveldown.svg)](https://www.npmjs.com/package/@pirxpilot/leveldown)

Forked from [leveldown]((https://github.com/level/leveldown) to experiment with alternative packaging and performance improvements.

<a name="license"></a>
License &amp; copyright
-------------------

Copyright &copy; 2012-2018 `leveldown` [contributors](https://github.com/level/community#contributors).

`leveldown` is licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included `LICENSE.md` file for more details.

*`leveldown` builds on the excellent work of the LevelDB and Snappy teams from Google and additional contributors. LevelDB and Snappy are both issued under the [New BSD Licence](http://opensource.org/licenses/BSD-3-Clause).*

[level-badge]: http://leveldb.org/img/badge.svg