Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
geometry-interfaces
Advanced tools
Readme
The W3C Geometry Interfaces implemented in JavaScript and polyfilled.
If you're using a module system, just import the library after installing it from NPM:
import 'geometry-interfaces' // ES2015 Modules
// or
require('geometry-interfaces') // CommonJS
// or
define(['geometry-interfaces'], () => {}) // AMD
You can also clone this repo, then you'll see a global.js
file in the root of
the project that you can copy over to your project and load with a <script>
tag, for example:
<script src='global.js'></script>
(You can rename the file of course.)
The global.js
file is usually the one shipped with the last tagged version.
Execute npm run build-global
to update the file using the latest content in
the repo.
If you don't want to polyfill everything and you're using a module system (f.e. Rollup, Webpack, Browserify, etc), import whatever you need directly:
import DOMMatrix from 'geometry-interfaces/DOMMatrix'
Disclaimer: I'm implementing these interfaces/APIs on an as-needed basis, so this project may not currently include all of the interfaces or APIs.
Consider bringing the web forward by making a pull request to add missing interfaces, APIs, or performance improvements (especially on the matrix calculations). :]
The word "dommetry" is a play on the words "geometry" and "DOMMatrix" put together. :D
FAQs
The W3C Geometry Interfaces implemented in JavaScript and polyfilled.
The npm package geometry-interfaces receives a total of 90,499 weekly downloads. As such, geometry-interfaces popularity was classified as popular.
We found that geometry-interfaces demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.