You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

boolean-shapely

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boolean-shapely

Boolean Shapely - Used for TurfJS boolean testing

0.1.1
npmnpm
Version published
Weekly downloads
60
-73.09%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 19 Jun 2017

Did you know?

Socket

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