New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

apod-builder

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apod-builder

Create jpegs with data from NASA's APOD

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

apod-builder

Fetch the Astronomy Picture of the Day

Local version uses a simple Logger.ts and SimpleImageWrite.ts that are injected by the test.ts script

The "build" option (npm run build) creates a ApodBuilder module that can be used in a larger project.

In a larger project, the Logger and ImageWriter need to be injected

The environment variable "NASA_API_KEY" must be present and have an API key retreived from https://api.nasa.gov/

To run locally:

$ npm run test

FAQs

Package last updated on 14 May 2024

Did you know?

Socket

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.

Install

Related posts