3.1.0 • Published 5 years ago

servicekit v3.1.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

servicekit

An assortment of useful service wrappers with uniform initialization and simplified client calls.

Build Status

The aim of this library is to provide some useful services with a standard initialization pattern for all services. Furthermore the key calls for using those APIs have been greatly simplified using defaults for most parameters.

Setup

NPM

Install via npm:

npm install servicekit --save

Usage

Use services by importing and initializing them with a config. All services follow the same initialization pattern.

var ta = require('servicekit/tone-analyzer')(config);

ta.tone('That sounds great', function(err, result){
  if(err) {
    // handle it
  }
});

Services

The following services are presently in the kit:

Configure Local Dev Environment

Step 1: Get the Code

First, you'll need to pull down the code from GitHub:

git clone https://github.com/wallali/servicekit.git

Step 2: Install Dependencies

Second, you'll need to install the project dependencies as well as the dev dependencies. To do this, simply run the following from the directory you created in step 1:

npm install

Step 3: Running Tests

With your local environment configured, running tests is as simple as:

npm test

Debugging

servicekit uses the debug module to output debug messages to the console. To output all debug messages, run your node app with the DEBUG environment variable:

DEBUG=servicekit:* node your-app.js

This will output debugging messages from servicekit.

License

Apache 2.0

3.1.0

5 years ago

3.0.0

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago