From e777c78aef170c04565024c3dfccaf5b8c50c1c2 Mon Sep 17 00:00:00 2001 From: Jonathan Hornung Date: Wed, 6 Jan 2016 16:34:54 +0100 Subject: [PATCH] chore: create npm reference (close #1) --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1a28c1e..ccfbc47 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,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-github-api-factory` + 2. `npm install --save angular-github-api-factory` + 3. download [angular-github-api-factory.zip](https://github.com/JohnnyTheTank/angular-github-api-factory/zipball/master) 2. Add `jtt_github` 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 `githubFactory`