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.
spectra
Advanced tools
Readme
A small Javascript library for quickly manipulating and converting colors.
Spectra can be wrapped around many different types of objects to create a Spectra color that can be manipulated.
var color = Spectra({r: 255, g: 25, b: 75});
color.red() // 255
The project was created to have a highly functional and lightweight way to deal with colors using Javascript, without any dependencies.
Simply download spectra.min.js and include it before your source files.
The bower package is at spectrajs
.
bower install spectrajs
This module also works with Node. Simply run npm install spectra
and use var Spectra = require('spectra')
to set it up.
Refer to http://avp.github.io/spectra for reference on how to use Spectra.
There are Jasmine tests included in the tests
folder. Simply run grunt test
from the root of the repository to run the tests. This also checks JSHint. Alternatively, run grunt
to keep watch over source and test files, and automatically rerun the tests when the files change.
Test coverage information can be generated by running grunt karma
. Coverage information will be located in test/coverage
after generation.
To minify Spectra, run grunt build
.
View CONTRIBUTING.md for guidelines on how to contribute.
FAQs
Javascript color manipulation library.
The npm package spectra receives a total of 225 weekly downloads. As such, spectra popularity was classified as not popular.
We found that spectra 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.