js-sentenai
Standalone JavaScript client for Sentenai
This library is still unstable. Install an exact version to avoid breaking changes.
$ npm install --save --save-exact sentenai
usage
const Sentenai = ;const sentenai = auth_key: '' ; const pattern = await sentenai;const spans = await pattern;
View our docs to learn more.
development
All testing is currently handled by jest
.
$ npm install$ npm test
To automatically run jest
as you update code:
$ npm test -- --watch
To evaluate current testing coverage:
$ npm test -- --coverage # generate html report in coverage/ $ npm test -- --coverage --coverageReporters "html"$ open coverage/index.html