0.1.2 • Published 7 years ago

mstdn-api v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

mstdn-api

Build Status Coverage Status

UMD (including Node, Browser, and TypeScript!) Library for Mastodon API
Github repository, and
npm package are available.

Why mstdn-api?

You can use this library universally: Node, Browser(ES5), and TypeScript.

How to install

$ npm i -S mstdn-api

How to use

There are simple examples in ./example.

if you can use import-syntax, then:

import Mastodon from 'mstdn-api'

CDN

provided by rawgit.com
for development: mastodon.min.js

variable 'Mastodon' (window.Mastodon) is globally exported.

/* global Mastodon */  
const mastodon = new Mastodon('YOUR_ACCESS_TOKEN')

See documents of class Mastodon

./dist/mastodon.js is generated by webpack (as bundler)
and ./dist/mastodon.min.js is generated by uglifyJS

Documents

Documents automatically generated by Typedoc2.

At first, see ./docs/classes/_mastodon_.mastodon.html
hosted by rawgit: documents of class Mastodon

Contributing

Feel free to contact me.
Welcome to blush my English and the code up.

0.1.2

7 years ago

0.1.1

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago