https://github.com/pirtleshell/constellations
JSON list of astronomical constellations :star2:
https://github.com/pirtleshell/constellations
Last synced: over 1 year ago
JSON representation
JSON list of astronomical constellations :star2:
- Host: GitHub
- URL: https://github.com/pirtleshell/constellations
- Owner: pirtleshell
- License: mit
- Created: 2017-01-11T03:56:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-11T03:59:15.000Z (over 9 years ago)
- Last Synced: 2025-04-28T14:08:46.201Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# constellations
> JSON list of astronomical constellations :star2:
The data is simply a [JSON file](https://github.com/PirtleShell/constellations/blob/master/constellations.json), feel free to use in anywhere.
## Install
```sh
npm install --save constellations
```
## Structure
The data is a list of objects containing naming information about the constellations, arranged in alphabetical order.
```js
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](https://en.wikipedia.org/wiki/88_modern_constellations#List).
## License
This is by [Robert Pirtle](jhttps://pirtle.xyz). Its license is [MIT](http://choosealicense.com/licenses/mit/).