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.
kranus-test
Advanced tools
Readme
npm install kranus-test
The module returns a function that takes a date in form of string
, instance of Date
or plain object with day
, month
and year
properties.
var test = require('kranus-test');
test('1990-10-05')
// => {error: false, color: 'yellow', matrix: [0,3,1,0,0,3,1,1,0,2]}
// we could also call test(new Date('1990-10-05')) or test({day: 5, month: 10, year: 1990})
// matrix[1] holds the number of "1"-s in matrix; matrix[0] is a dummy value for convinience
error
is true
when given date makes no sense.
Original concept by Kranus.
FAQs
Original Kranus test
The npm package kranus-test receives a total of 1 weekly downloads. As such, kranus-test popularity was classified as not popular.
We found that kranus-test 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.