# grouped

> Lists of grouped words by type

Latest version **1.0.1** (published 2018-02-23) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2018-02-23 |
| First published | 2018-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Khalid Rehioui |
| Maintainers | javascript |
| Keywords | words, types, grouped |

## Links

- npm: https://www.npmjs.com/package/grouped
- Repository: https://github.com/Javascipt/grouped
- Homepage: https://github.com/Javascipt/grouped#readme
- Issues: https://github.com/Javascipt/grouped/issues
- npm.io page: https://npm.io/package/grouped

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-02-23
- 1.0.0 — 2018-02-23

## README

# Grouped [![Build Status](https://travis-ci.org/Javascipt/grouped.svg?branch=master)](https://travis-ci.org/Javascipt/grouped)

This package is inspired by [`word-list`](https://github.com/sindresorhus/word-list), all credits should go to the author [Sindre Sorhus](https://github.com/sindresorhus). Some credits should also go to the author [Pass-phrase](https://github.com/aaronbassett/Pass-phrase) for the lists used in this package.

I wanted to create a package to be able to get word list by type which can be very helpful in certain senarios like the usage in this package : [`usernames`](https://github.com/javascipt/usernames)


## Install

```
$ npm install --save grouped
```


## Usage

```js
const fs = require('fs');

// Returns the path to the word list which is separated by `\n`
const listsPaths = require('grouped');

const verbsArray    = fs.readFileSync(listsPaths.verbs, 'utf8').split('\n');
const adverbsArray  = fs.readFileSync(listsPaths.adverbs, 'utf8').split('\n');
const adjArray      = fs.readFileSync(listsPaths.adjectives, 'utf8').split('\n');
const nounsArray    = fs.readFileSync(listsPaths.nouns, 'utf8').split('\n');
```


## License

MIT

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