Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@clxrity/nasa-api

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clxrity/nasa-api

A NASA API wrapper for Node.js

latest
npmnpm
Version
0.4.9
Version published
Weekly downloads
15
25%
Maintainers
0
Weekly downloads
 
Created
Source

NASA API

view on npm MIT license Node.js CI

npm i @clxrity/nasa-api
yarn add @clxrity/nasa-api
pnpm add @clxrity/nasa-api

Requirements

See the Documenation for more information and a full list of available APIs.

import NASA_API from "@clxrity/nasa-api"

const nasa = new NASA_API(process.env.NASA_API_KEY);

async function apod() {
    const { 
        url, 
        title,
        // ...
    } = await nasa.getApod(); // Astronomy Picture of the Day
    console.log(url, title);
}

Keywords

nasa

FAQs

Package last updated on 23 Feb 2025

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