Socket
Socket
Sign inDemoInstall

boolean-shapely

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    boolean-shapely

Boolean Shapely - Used for TurfJS boolean testing


Version published
Maintainers
1
Install size
41.1 kB
Created

Readme

Source

Boolean Shapely

Primarly used for TurfJS boolean testing.

Install

$ python --version
Python 2.7.10
$ pip install shapely
$ yarn add --dev boolean-shapely

Quickstart

const shapely = require('boolean-shapely');

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

shapely.crosses(line1, line2);
    .then(result => console.log(result));
//= true/false

DE-9IM

  • crosses
  • contains
  • within
  • equals
  • touches
  • disjoint
  • intersects
  • overlaps
  • covers

FAQs

Last updated on 19 Jun 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc