# node-fist

> Node.js client library for Fist full text search

Latest version **0.2.1** (published 2019-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-fist
pnpm add node-fist
yarn add node-fist
bun add node-fist
```

## 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.2.1 |
| Published | 2019-06-29 |
| First published | 2019-06-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | 00-matt |
| Keywords | fist |

## Links

- npm: https://www.npmjs.com/package/node-fist
- Repository: https://github.com/00-matt/node-fist
- Homepage: https://github.com/00-matt/node-fist#readme
- Issues: https://github.com/00-matt/node-fist/issues
- npm.io page: https://npm.io/package/node-fist

## Recent versions

- 0.2.1 (latest) — 2019-06-29
- 0.2.0 — 2019-06-27
- 0.1.3 — 2019-06-26
- 0.1.2 — 2019-06-26
- 0.1.1 — 2019-06-25
- 0.1.0 — 2019-06-25

## README

# node-fist
> Node.js client library for [Fist](https://github.com/f-prime/fist) full text search

### Installation

```
npm install node-fist
```

### Support and Requirements

Only the LTS and Current Node.js versions are supported.
Other versions may work, but are not actively tested.

### Usage

##### Connecting

```js
const { FistConnection } = require('node-fist')

const index = new FistConnection('localhost', 5575)
```

##### Indexing

```js
index.index('doc_1', 'the quick brown fox jumped over the lazy dog')
```

##### Searching

```js
index.search('lazy dog', (err, documents) => {
  if (err) return console.error(err)
  console.log(documents) // => ['doc_1']
})
```

##### Disconnecting

```js
index.close()
```

### License

Released under the terms of the MIT license.
See [LICENSE](LICENSE) for more details.

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