Skip to content

Commit

Permalink
rename npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
JanST123 committed Feb 3, 2021
1 parent 173a6d5 commit 851328b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]");
```

Expand Down
2 changes: 1 addition & 1 deletion example/index.js
Original file line number Diff line number Diff line change
@@ -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;


Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@gridscale/api",
"name": "@gridscale/gsclient-js",
"version": "1.0.3",
"description": "gridscale API Wrapper",
"main": "dist/src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion typings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@gridscale/api",
"name": "@gridscale/gsclient-js",
"dependencies": {
"chai": "registry:npm/chai#3.5.0+20160723033700"
},
Expand Down

0 comments on commit 851328b

Please sign in to comment.