
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
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 9 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.