Rename project to node-eventstore-client
This commit is contained in:
parent
121e248dd8
commit
f66decdfb3
14
README.md
14
README.md
|
@ -1,4 +1,4 @@
|
||||||
# eventstore-node
|
# node-eventstore-client
|
||||||
A port of the EventStore .Net ClientAPI to Node.js
|
A port of the EventStore .Net ClientAPI to Node.js
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
|
@ -19,7 +19,7 @@ A port of the EventStore .Net ClientAPI to Node.js
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
Install using `npm install eventstore-node`
|
Install using `npm install node-eventstore-client`
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
|
@ -30,11 +30,11 @@ Install using `npm install eventstore-node`
|
||||||
|
|
||||||
#### Offline
|
#### Offline
|
||||||
|
|
||||||
The offline documentation can be found in the module folder `./node_modules/eventstore-node/docs`.
|
The offline documentation can be found in the module folder `./node_modules/node-eventstore-client/docs`.
|
||||||
|
|
||||||
#### Online
|
#### Online
|
||||||
|
|
||||||
The online documentation can be found at [https://dev.nicdex.com/eventstore-node/docs/](https://dev.nicdex.com/eventstore-node/docs/)
|
The online documentation can be found at [https://dev.nicdex.com/node-eventstore-client/docs/](https://dev.nicdex.com/node-eventstore-client/docs/)
|
||||||
|
|
||||||
### Install & run an Eventstore on localhost
|
### Install & run an Eventstore on localhost
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ See http://docs.geteventstore.com/introduction/3.9.0/ .
|
||||||
Save to ```app.js:```
|
Save to ```app.js:```
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var esClient = require('eventstore-node');
|
var esClient = require('node-eventstore-client');
|
||||||
var uuid = require('uuid');
|
var uuid = require('uuid');
|
||||||
|
|
||||||
var streamName = "testStream";
|
var streamName = "testStream";
|
||||||
|
@ -88,7 +88,7 @@ Run:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
npm install uuid
|
npm install uuid
|
||||||
npm install eventstore-node
|
npm install node-eventstore-client
|
||||||
node app.js
|
node app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -125,6 +125,6 @@ Any async commands returns a [Promise](https://developer.mozilla.org/en/docs/Web
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Ported code is released under the MIT license, see [LICENSE](https://github.com/nicdex/eventstore-node/blob/master/LICENSE).
|
Ported code is released under the MIT license, see [LICENSE](https://github.com/nicdex/node-eventstore-client/blob/master/LICENSE).
|
||||||
|
|
||||||
Original code is released under the EventStore license and can be found at https://github.com/eventstore/eventstore.
|
Original code is released under the EventStore license and can be found at https://github.com/eventstore/eventstore.
|
||||||
|
|
2
index.js
2
index.js
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* eventstore-node A port of EventStore .Net ClientAPI to Node.js
|
* node-eventstore-client A port of EventStore .Net ClientAPI to Node.js
|
||||||
* see README.md for more details
|
* see README.md for more details
|
||||||
* see LICENSE for license info
|
* see LICENSE for license info
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "eventstore-node",
|
"name": "node-eventstore-client",
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
"description": "A port of the EventStore .Net ClientAPI to Node.js",
|
"description": "A port of the EventStore .Net ClientAPI to Node.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/nicdex/eventstore-node.git"
|
"url": "git+https://github.com/nicdex/node-eventstore-client.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"eventstore",
|
"eventstore",
|
||||||
|
@ -37,9 +37,9 @@
|
||||||
"author": "Nicolas Dextraze",
|
"author": "Nicolas Dextraze",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/nicdex/eventstore-node/issues"
|
"url": "https://github.com/nicdex/node-eventstore-client/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/nicdex/eventstore-node#readme",
|
"homepage": "https://github.com/nicdex/node-eventstore-client#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/long": "^3.0.31",
|
"@types/long": "^3.0.31",
|
||||||
"@types/node": "^6.0.47",
|
"@types/node": "^6.0.47",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const client = require('../src/client')
|
const client = require('../src/client')
|
||||||
// const client = require("eventstore-node")
|
// const client = require("node-eventstore-client")
|
||||||
const uuid = require("uuid")
|
const uuid = require("uuid")
|
||||||
|
|
||||||
const settings = {
|
const settings = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const client = require('../src/client')
|
const client = require('../src/client')
|
||||||
// const client = require("eventstore-node")
|
// const client = require("node-eventstore-client")
|
||||||
const uuid = require("uuid")
|
const uuid = require("uuid")
|
||||||
|
|
||||||
const settings = {}
|
const settings = {}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Subscribe to all new events on the $all stream. Filter out any which aren"t about "user" aggregates.
|
// Subscribe to all new events on the $all stream. Filter out any which aren"t about "user" aggregates.
|
||||||
|
|
||||||
const client = require('../src/client')
|
const client = require('../src/client')
|
||||||
// const client = require("eventstore-node")
|
// const client = require("node-eventstore-client")
|
||||||
|
|
||||||
const resolveLinkTos = false
|
const resolveLinkTos = false
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This could be used for subscribers which populate read models.
|
// This could be used for subscribers which populate read models.
|
||||||
|
|
||||||
const client = require('../src/client')
|
const client = require('../src/client')
|
||||||
// const client = require("eventstore-node")
|
// const client = require("node-eventstore-client")
|
||||||
|
|
||||||
const eventAppeared = (stream, event) =>
|
const eventAppeared = (stream, event) =>
|
||||||
console.log(
|
console.log(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user