Sorry, I hit enter by mistake and gmail sent before I finished listing the current features and adding a link
Hi all,
I am making a new BaseX client for nodejs https://github.com/alxarch/basex-stream. It focuses on utilising node streams in order to be able to pipe data to/from BaseX directly. (i.e. pipe request body to an ADD command or pipe XQuery output to a response). It also uses promises for more code flow flexibility.
Current features:
- Supports streams where appropriate (command output, query execution, add, store etc) - Promises interface - Query results available as they come - Events monitor support
Planned features:
- Simple utils (ie db info retrieval, repo management) - Database OOP (ie `db('test').then(function (db) { db.backup()})` - Result type conversion - Built-in support for json results (ie parse json response on-the-fly)
I plan to release it in NPM within the week (It lacks proper documentation and I want to organise my tests as mocha tests).
Alex
On 13 May 2015 at 12:17, alxarch alxarch@gmail.com wrote:
Hi all,
I am making a new BaseX client for nodejs. It focuses on utilising node streams in order to be able to pipe data to/from BaseX directly. (i.e. pipe request body to an ADD command or pipe XQuery output to a response). It also uses promises for more code flow flexibility.
Features:
- Supports streams where appropriate (command output, query execution,
add, store etx)
- Promises interface
I plan to release it in NPM within the week (It lacks proper documentation and I want to organise my tests as mocha tests).
Alex