From 9a436ce513e3c7356414948e778a5f83dc3d8030 Mon Sep 17 00:00:00 2001 From: Harley Lara <35354399+harleylara@users.noreply.github.com> Date: Sat, 10 Jun 2023 17:57:38 +0200 Subject: [PATCH 1/2] Video added npm install --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7914c0d..417346f 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,10 @@ $ npm install -g . ## Option 2: install using npm +[Video Demo](https://github.com/harleylara/tello-js/assets/35354399/46b0ccc8-c98a-4667-baf0-3b532d9c6eeb) + + + 1. Open a terminal and run. ```console From 0435e2ce33be9a1e4b9818cf9b04a2a987ccbc69 Mon Sep 17 00:00:00 2001 From: Harley Lara <35354399+harleylara@users.noreply.github.com> Date: Fri, 16 Jun 2023 14:28:48 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 417346f..cd5e30c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,19 @@ A minimalist Javascript library for programming Tello drones with a WebSocket in ℹ️ [REQUIREMENT] To use this library you need to install: - [Node.js](https://nodejs.org/) -## Option 1: install from source +## Option 1: install using npm + +[Video Demo](https://github.com/harleylara/tello-js/assets/35354399/46b0ccc8-c98a-4667-baf0-3b532d9c6eeb) + +1. Open a terminal and run. + +```console +$ npm i @harleylara/tello-js -g +``` + +2. Done + +## Option 2: install from source 1. Download/clone this repository on your computer. ```console @@ -37,20 +49,6 @@ $ npm install -g . 3. Done -## Option 2: install using npm - -[Video Demo](https://github.com/harleylara/tello-js/assets/35354399/46b0ccc8-c98a-4667-baf0-3b532d9c6eeb) - - - -1. Open a terminal and run. - -```console -$ npm i @harleylara/tello-js -g -``` - -2. Done - At this point you are ready to have fun with your drone using javascript. # How to use