Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunaperegrina/star-wars-starships
This CLI tool calculates MGLT measurements, used in the Star Wars franchise!
https://github.com/lunaperegrina/star-wars-starships
api nodejs starwars-api typescript
Last synced: about 1 month ago
JSON representation
This CLI tool calculates MGLT measurements, used in the Star Wars franchise!
- Host: GitHub
- URL: https://github.com/lunaperegrina/star-wars-starships
- Owner: lunaperegrina
- Created: 2022-06-30T21:51:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-01T07:15:51.000Z (over 2 years ago)
- Last Synced: 2024-10-12T05:45:32.117Z (2 months ago)
- Topics: api, nodejs, starwars-api, typescript
- Language: TypeScript
- Homepage:
- Size: 181 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🚀 Star Wars Starships 🚀
This CLI tool calculates MGLT measurements, used in the Star Wars franchise!## 📦 Installation:
👀 I'm assuming you have [Git](https://git-scm.com/) and [NodeJS](https://nodejs.org/en/) in your system.
🥰 I used pnpm in this project, so type: (if you don't have it installed)
```bash
npm install -g pnpm
```👨💻 Code download:
```bash
git clone https://github.com/pedroperegrinaa/technical-test-swapi.git
```🛠 Download modules:
```bash
pnpm install
```
## ⌨ CLI💜 Use:
```bash
sucrase-node src/index.ts distance 1000000
```💚 This is the expected return:
```bash
:::::::::::::::::::::: ::::::::: ::: ::: ::: ::::::::: ::::::::
:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+::+: :+:
+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:++:+
+#++:++#++ +#++#++:++#++:+#++:++#: +#+ +:+ +#++#++:++#++:+#++:++#: +#++:++#++
+#+ +#++#+ +#++#+ +#+ +#+ +#+#+ +#++#+ +#++#+ +#+ +#+
#+# #+# #+##+# #+##+# #+# #+#+# #+#+# #+# #+##+# #+##+# #+#
######## ###### ###### ### ### ### ### ###### ### ########
:::::::::::::::::::::: ::::::::: :::::::: ::: ::::::::::::::::::::::: ::::::::
:+: :+: :+: :+: :+: :+: :+::+: :+::+: :+: :+: :+: :+::+: :+:
+:+ +:+ +:+ +:+ +:+ +:++:+ +:+ +:+ +:+ +:+ +:++:+
+#++:++#++ +#++#++:++#++:+#++:++#: +#++:++#+++#++:++#++ +#+ +#++:++#+ +#++:++#++
+#+ +#++#+ +#++#+ +#+ +#++#+ +#+ +#+ +#+ +#+
#+# #+# #+##+# #+##+# #+##+# #+##+# #+# #+# #+# #+# #+#
######## ###### ###### ### ######## ### ################# ########🚀 Starship: CR90 corvette
⌛ Time: 1 year
⛽ Ressuplies: 1🚀 Starship: Star Destroyer
⌛ Time: 2 years
⛽ Ressuplies: 0🚀 Starship: Sentinel-class landing craft
⌛ Time: 1 month
⛽ Ressuplies: 19...
...
...```