ajsaenz1091 / planets-nasa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt text

planets-nasa

GitHub language count GitHub top language Profile View Counter

About

I created this app with the purpose of consolidating recently aquired knowledge on NodeJS, specifically on using event emmiters to parse a CSV file downloaded from NASA's Exoplanet Archive Exoplanet Archive. The application converts a csv file into a read stream, which is then parsed to a write stream, both connected by a pipe. The result of the application is a list of planet "kepler_names" of those planets that are considered habitable according to some of the criteria described in this site A review of planet habitability

Run locally

  • Clone the repo into your local machine. instructions on how to clone a repo here - clone repo guide

  • On your terminal, navigate to your recently cloned repository and install the projects dependencies by running this command:

    npm install

  • Once your dependencies are installed, you can run the application with two posible commands, either one will work.

    npm start or npm dev

    Your result should look like this:

[

'planet name: Kepler-1652 b',

'planet name: Kepler-1410 b',

'planet name: Kepler-296 f',

'planet name: Kepler-442 b',

'planet name: Kepler-296 e',

'planet name: Kepler-1649 b',

'planet name: Kepler-62 f',

'planet name: Kepler-452 b'

]

About


Languages

Language:JavaScript 100.0%