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.
apod-nasa
Advanced tools
Readme
$ npm install --save apod-nasa
For current date
const apod = require('apod-nasa');
apod().then(data => {
console.log(data);
/*
{
title: 'The Summer Triangle over the Great Wall',
image: 'https://apod.nasa.gov/apod/image/1707/GreatWallMilkyWay_Yu_1686.jpg'
}
*/
});
For specific date
apod.date('951010').then(data => {
console.log(data);
/*
{
day: 'October 10, 1995',
title: 'Dione\'s Lagrange Moon Helene',
image: 'https://apod.nasa.gov/apod/image/helene_vg2.gif'
}
*/
});
Date
In apod.date()
the following format is only supported format -
yy/mm/dd
Example :
16th of March, 1998
:
980316
1st January, 2000
:
000101
NOTE :
APOD-NASA
started to post pictures since June 16, 1995
, so the least date will be 950616
and max will be the current date
apod()
apod.date('date')
date
Type :
string
Format :
yy/mm/dd
apod
: Astronomy Picture of the Day form command line done right!
MIT © Rishi Giri
FAQs
Astronomy Picture of the Day!
The npm package apod-nasa receives a total of 2 weekly downloads. As such, apod-nasa popularity was classified as not popular.
We found that apod-nasa 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.