Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 879 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 879 Bytes

constellations

JSON list of astronomical constellations 🌟

The data is simply a JSON file, feel free to use in anywhere.

Install

npm install --save constellations

Structure

The data is a list of objects containing naming information about the constellations, arranged in alphabetical order.

const constellations = require('constellations');

constellations.length
//=> 88

constellations[0]
//=> {
//   abbr: 'And',
//   name: 'Andromeda',
//   genitive: 'Andromedae',
//   en: 'Andromeda (mythological character)'
// }

The data is scraped from this Wikipedia table.

License

This is by Robert Pirtle. Its license is MIT.