Skip to main content

Nasa Neows

@hmcrum/nasa-neowsv2026.09.17.1· 19d agoMODELS
01README

Near-Earth asteroid close-approach data from NASA's NeoWs (Near Earth Object Web Service) API — "what's flying by Earth this week." One method, feed: every asteroid with a predicted close approach to Earth within a date range (max 7 days, NASA's own cap), with size, velocity, miss distance, and a potentially-hazardous flag per object. Read-only, host-locked to api.nasa.gov. No signup required — apiKey defaults to NASA's public DEMO_KEY (30 req/hour, 50/day); bring your own free key for the standard 1000/hour limit. An exhausted retry budget or in-body NASA error degrades to an errors entry and an empty result rather than throwing; an invalid date range (inverted, or >7 days) throws immediately since that's a caller mistake, not degraded service.

Quick Start

  --input startDate=2026-09-17 --input endDate=2026-09-24 --input hazardousOnly=true
02Models1
@hmcrum/nasa-neowsv2026.09.17.1nasa_neows.ts

Global Arguments

ArgumentTypeDescription
apiKeystringNASA API key (free at https://api.nasa.gov/). Defaults to the public
userAgentstringUser-Agent sent to api.nasa.gov — identify yourself honestly
fn feed(startDate?: string, endDate?: string, hazardousOnly: boolean)
List near-Earth asteroids with a close approach to Earth within a date range
ArgumentTypeDescription
startDate?stringISO date (YYYY-MM-DD), e.g. 2026-09-17 — defaults to today
endDate?stringISO date (YYYY-MM-DD) — defaults to 7 days after startDate.
hazardousOnlybooleanOnly include potentially hazardous asteroids

Resources

feed(1h)— Near-Earth asteroids with a predicted close approach to Earth in a date range
03Stats
A
100 / 100
Downloads
14
Archive size
8.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels