diff --git a/README.md b/README.md index 089cb03d..eeabb189 100755 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To be able to use this client, a number of steps need to be taken. First a grids Install the package by npm running ```sh -npm i @gridscale/api --save +npm i @gridscale/gsclient-js --save ``` or clone this repo and run @@ -48,7 +48,7 @@ Then in your HTML you use ### In Node.js ```js -const gridscale = require("@gridscale/api").gridscale; +const gridscale = require("@gridscale/gsclient-js").gridscale; const client = new gridscale.Client("[API-Token]", "[User-UUID]"); ``` diff --git a/example/index.js b/example/index.js index d72cb984..2afe306a 100644 --- a/example/index.js +++ b/example/index.js @@ -1,7 +1,7 @@ var process = require('process'); var colors = require('colors'); -var gridscale = require('@gridscale/api').gridscale; +var gridscale = require('@gridscale/gsclient-js').gridscale; var client; diff --git a/example/package.json b/example/package.json index 7faa138e..be759539 100644 --- a/example/package.json +++ b/example/package.json @@ -5,7 +5,7 @@ "browserify": "browserify index.js -o ./dist/index.js" }, "dependencies": { - "@gridscale/api": "latest", + "@gridscale/gsclient-js": "latest", "colors": "^1.4.0" }, "devDependencies": { diff --git a/package.json b/package.json index b0738899..875916a3 100755 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@gridscale/api", + "name": "@gridscale/gsclient-js", "version": "1.0.3", "description": "gridscale API Wrapper", "main": "dist/src/index.js", diff --git a/typings.json b/typings.json index aa43126b..5d496f3a 100755 --- a/typings.json +++ b/typings.json @@ -1,5 +1,5 @@ { - "name": "@gridscale/api", + "name": "@gridscale/gsclient-js", "dependencies": { "chai": "registry:npm/chai#3.5.0+20160723033700" },