utopian-api-ts
v1.0.1
Published
Utopian Api Typescript version
Downloads
1
Maintainers
Readme
Utopian SDK Typescript
A Typescript module for Utopian SDK. Originally written by wehmoen
Installation
npm install utopian-api-ts --save
Usage
Javascript
var utopiansdk = require('utopian-api-ts');
utopiansdk.getModerators(function(data) {
console.log(data);
});
Output should be an array with the moderators
TypeScript
import * as utopiansdk from 'utopian-api-ts';
utopiansdk.getModerators((data) => {
console.log(data);
});
Output should be an array with the moderators
AMD
define(function(require,exports,module){
var utopiansdk = require('utopian-api-ts');
});
Test
npm run test