# boolean-jsts

> Boolean JSTS - Used for TurfJS boolean testing

Latest version **0.0.1** (published 2017-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install boolean-jsts
pnpm add boolean-jsts
yarn add boolean-jsts
bun add boolean-jsts
```

## 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.0.1 |
| Published | 2017-08-28 |
| First published | 2017-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rowanwins |

## Links

- npm: https://www.npmjs.com/package/boolean-jsts
- npm.io page: https://npm.io/package/boolean-jsts

## Dependencies (1)

- [jsts](https://npm.io/package/jsts.md) ^1.4.0

## Recent versions

- 0.0.1 (latest) — 2017-08-28

## README

# Boolean JSTS

Primarly used for TurfJS boolean testing.

## Install

```
$ npm install boolean-jsts --save-dev
```

## Quickstart

```javascript
const booleanJSTS = require('boolean-jsts');

const line1 = lineString([[-2, 2], [1, 1]]);
const line2 = lineString([[1, 1], [1, 2], [1, 3], [1, 4]]);

var result = booleanJSTS('crosses', line1, line2);
//= true/false
```

## DE-9IM

- [x] crosses
- [x] contains
- [x] within
- [x] equals
- [x] touches
- [x] disjoint
- [x] intersects
- [x] overlaps
- [x] covers

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