Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 885 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 885 Bytes

Martian

Core JavaScript API for MindTouch

travis-ci.org codecov.io

Support

This Library is provided for and supported by the open source community. Supported MindTouch site owners may file bug reports via GitHub, but support plans do not cover the usage of this library.

Install

$ jspm install mindtouch-martian

Usage

Use API objects to get business entities (user, page, file, etc)

import { User } from 'martian/user';

let user = User.getCurrentUser().then((user) => {
    // do something with user.username, user.fullname, user.email, etc..
});