From 09fced8d634a03b63f821e8f8af92d4b609806b1 Mon Sep 17 00:00:00 2001 From: Jonathan Hornung Date: Wed, 6 Jan 2016 21:54:32 +0100 Subject: [PATCH] chore: create npm reference (close #7) --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 16233fb..cefce51 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,24 @@ Author: Jonathan Hornung ([JohnnyTheTank](https://github.com/JohnnyTheTank)) ## Usage -1. Install via [bower](http://bower.io/) : +1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/) or downloaded files: 1. `bower install --save angular-youtube-api-factory` + 2. `npm install --save angular-youtube-api-factory` + 3. download [angular-youtube-api-factory.zip](https://github.com/JohnnyTheTank/angular-youtube-api-factory/zipball/master) 2. Add `jtt_youtube` to your application's module dependencies. 3. Include dependencies in your HTML. 1. When using bower: - ```html - - + + ``` + 2. When using npm: + ```html + + ``` + 3. when using downloaded files + ```html + ``` - 4. Use the factory `youtubeFactory`