From 05b72bec592852247e805312e6dcca753a3ca69e Mon Sep 17 00:00:00 2001 From: Lee Date: Mon, 4 Apr 2016 11:05:43 -0600 Subject: [PATCH] update reade me with npm, ES6, and commonjs directions --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cedc89..5b80cf5 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,13 @@ will walk you through the creation of a full-stack application.* Or install with bower: `$ bower install --save stormpath-sdk-angularjs` + + Or to install by npm `$ npm install --save stormpath-sdk-angularjs` + * with ES6 - import 'stormpath-sdk-angularjs'; + * with commonjs - require("stormpath-sdk-angularjs"); + + + 4. **Add the Module to Your App's Dependencies** Add the `stormpath` module and templates to your app's dependencies in *app.js*: @@ -215,4 +222,4 @@ Apache 2.0, see [LICENSE](LICENSE). [UI-Router]: https://github.com/angular-ui/ui-router [Yeoman Guide]: https://docs.stormpath.com/angularjs/guide [support center]: https://support.stormpath.com -[CORS example app]: https://github.com/stormpath/stormpath-sdk-angularjs/tree/master/example/cors-app \ No newline at end of file +[CORS example app]: https://github.com/stormpath/stormpath-sdk-angularjs/tree/master/example/cors-app