Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
geometry.js
Advanced tools
A collection of ES6 classes for simple geometric objects and calculations.
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.
You can grab it directly from GitHub using NPM or JSPM:
npm install https://github.com/radify/geometry.js
# or
jspm install https://github.com/radify/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.
0.1.0 - 2015-04-29
FAQs
A collection of ES6 classes for simple geometric objects and calculations
The npm package geometry.js receives a total of 7 weekly downloads. As such, geometry.js popularity was classified as not popular.
We found that geometry.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.