Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 827 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 827 Bytes

codecov | Node.js CI

Installation

npm i ecs-sdk --save

Usage for inventory

PREFIX=https:// # defaults to https://
DOMAIN=yourdomain.com
SECRET=<super-secret>

# for lib/logger
SENTRY_DSN=<sentry-dsn>
// import entire SDK
var ECS = require('ecs-sdk');

// import ECS object without services
var ECS = require('ecs-sdk/global');
// import inventory service
var INVENTORY = require('ecs-sdk/servers/inventory');

// import individual service
var TRACK = require('ecs-sdk/servers/track');

// import logger
var logger = require('ecs-sdk/lib/logger');

``