Skip to content

Commit

Permalink
Release v0.0.4. This closes #3 and closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Jan 27, 2017
1 parent 38353ba commit 70b8592
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
33 changes: 24 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You can run a demo in 4 steps!
```
- In your file..
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -73,7 +73,7 @@ Just for the example, current database status... as you can see is a JSON file:

- *get*. Return the information from a key or the whole database
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -93,7 +93,7 @@ You can storage all the data that you want except functions. Until the next rele

- *set(key, data)*. Write or replace data to a defined key (optional)
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -107,7 +107,7 @@ You can storage all the data that you want except functions. Until the next rele

- *push(data)*. Write data in a new key (random name added)
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -117,7 +117,7 @@ You can storage all the data that you want except functions. Until the next rele

- *update(data, key)*. Add and modify data to a defined key
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -140,7 +140,7 @@ At the moment the the listeners can be added to the database root, but in the ne

- *on()*, Add a new function to be triggered on a specific change.
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -153,7 +153,7 @@ goblinDB.on('change', function(changes){

- *off()*, Remove a previous record event
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -176,7 +176,7 @@ Some extra features that maybe can help you.

- *getConfig() & updateConfig*, modify/replace/extend configuration.
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand All @@ -192,7 +192,7 @@ console.log(goblinDB.getConfig())

- *stopStorage() & startStorage()*. enable/disable the storage in disk.
```javascript
var GDB = require("./goblin");
var GDB = require("goblindb");
var http = require("http");

var goblinDB = GDB();
Expand Down Expand Up @@ -235,6 +235,21 @@ npm test

### Achievements

### v.0.0.4

**Features:**
- Documentation improved

**Bugs Fixed**
- [Wrong route on npm install](https://github.com/UlisesGascon/GoblinDB/issues/3)
- [Database storage location](https://github.com/UlisesGascon/GoblinDB/issues/4)


### v.0.0.3

**Notes:**
Just to solve issues with NPM.

### v.0.0.2

**Main target:**
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "goblindb",
"version": "0.0.2",
"version": "0.0.4",
"description": "GoblinDB | Fear the Goblin! | An amazing, simple and fun database for humans",
"main": "goblin.js",
"main": "./goblin.js",
"scripts": {
"test": "gulp test"
},
"readme": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/UlisesGascon/GoblinDB.git"
Expand Down

0 comments on commit 70b8592

Please sign in to comment.