Orda-js: A typescript/javascript library for orda project. CRDT-based data synchronization supporting document database.
npm install @orda-io/ordashell
$ npm i @orda-io/orda
`
Development
To develop the orda-js sdk, Orda Server needs to be up and running in advance.
Following the instructions, you can run the Orda Server.
`shell
$ git clone https://github.com/orda-io/orda.git
$ npm run gen:openapi
$ npm run gen:proto-enum
`
You can build orda-js as follows.
`shell
$ npm build:dev
$ npm build:prod
`
Orda-js can be tested with either karma or mocha.
`shell
$ npm run test # test with karma
$ npm run test:mocha # test with mocha
``