Updated README, bumped to version 0.0.24

This commit is contained in:
Nicolas Dextraze 2017-01-28 18:28:36 -08:00
parent 006b5b4791
commit faed60b8ac
2 changed files with 22 additions and 18 deletions

View File

@ -1,28 +1,33 @@
# eventstore-node # eventstore-node
A port of the EventStore .Net ClientAPI to Node.js A port of the EventStore .Net ClientAPI to Node.js
## Dependencies
- Node.js >= 0.12
- Modules: [long](https://www.npmjs.org/package/long), [protobufjs](https://www.npmjs.org/package/protobufjs), [uuid](https://www.npmjs.org/package/uuid) (installed via `npm install`)
## Status ## Status
Unstable
### Missing features: ### Missing features:
- Ssl connection - Ssl connection
- Cluster connection - Cluster discovery via dns (works using gossip seeds)
- Set system settings - Set system settings
### Incomplete ### Areas to improve
- Typed errors: currently most errors are direct instance of Error, which is not practical for error handling - Errors
- Performance: there's still some while loop in the code that could be problematic with node.js - Use codes or types to differentiate between errors
- Tests: tests are only covering happy path scenarios for now - Performance
- Performance hasn't been tested yet
- Tests
- Can always do with more tests
### Documentation ## Getting started
Install using `npm install eventstore-node`
### Dependencies
- Node.js >= 0.12
- Modules: [long](https://www.npmjs.org/package/long), [protobufjs](https://www.npmjs.org/package/protobufjs), [uuid](https://www.npmjs.org/package/uuid) (installed via `npm install`)
### API Documentation
#### Offline #### Offline
@ -32,9 +37,7 @@ The offline documentation can be found in the module folder `./node_modules/even
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/eventstore-node/docs/](https://dev.nicdex.com/eventstore-node/docs/)
## Getting started ### Install & run an Eventstore on localhost
### Install & run Eventstore on localhost
See http://docs.geteventstore.com/introduction/3.9.0/ . See http://docs.geteventstore.com/introduction/3.9.0/ .
@ -107,7 +110,8 @@ To execute the tests suites simply run
## Porting .Net Task to Node.js ## Porting .Net Task to Node.js
.Net Task have been replace with Promise. When executing an async command, i.e. appendToStream you can use then/catch to wait for result/error. Any async commands returns a [Promise](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise) object in replacement of .Net Task.
## License ## License

View File

@ -1,6 +1,6 @@
{ {
"name": "eventstore-node", "name": "eventstore-node",
"version": "0.0.23", "version": "0.0.24",
"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",
"types": "index.d.ts", "types": "index.d.ts",