node package manager

datahub-client

Build Status XO code style Issues

APIs for interacting with DataHub.

For developers

You need to have Node.js version >7.6

Install

$ npm install

Running tests

We use Ava for our tests. For running tests use:

$ [sudo] npm test

To run tests in watch mode:

$ [sudo] npm run watch:test

Lint

We use XO for checking our code for JS standard/convention/style:

# When you run tests, it first runs lint: 
$ npm test
 
# To run lint separately: 
$ npm run lint # shows errors only 
 
# Fixing erros automatically: 
$ xo --fix