Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

geometry.js

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geometry.js

A collection of ES6 classes for simple geometric objects and calculations

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Travis Build Status

Geometry.js

A collection of ES6 classes for simple geometric objects and calculations.

Why?

This library was extracted from an in-house project, and serves as a repository of geometry operations across several dependent libraries, including radify/Pathfinding.js. If you need to do 2D graphing calculations in arbitrary coordinate space using points, lines, and rectangles, this might just be the library for you.

Setup

You can grab it directly from NPM or JSPM:

npm install geometry.js
# or
jspm install geometry.js

Then:

<script src="geometry.js/dist/geometry[.min].js"></script>

By default, geometry.js exports classes in CommonJS format, but you can rebuild it in the format of your choice. For example:

cd geometry.js
npm install -g gulp
npm install
gulp dist --modules=amd

...will build AMD modules. Replace amd with any module format supported by Babel, including amd, umd, or system, for SystemJS.

Keywords

FAQs

Package last updated on 31 May 2018

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc