@soapboxsocial/minis.js
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

minis.js

TypeScript SDK to build Soapbox Minis.

CI npm version bundlephobia code style: prettier

Table of Contents

Install

$ npm install --save @soapboxsocial/minis.js

OR

$ yarn add @soapboxsocial/minis.js

API

Table of Contents

getUser

Get the current user of the Mini

Returns Promise<User>

getMembers

Get all of the users in a Soapbox room

Returns Promise<Array<User>>

getRoom

Get the details of the Soapbox room

Returns Promise<Room>

onClose

Function to handle when an app is closed, can be used for app state cleanup.

Parameters

Building a Mini

If you want to build your own Soapbox Mini or have an idea that you'd like to run past us, send us an email.

License

MIT License © Soaper Inc.

Readme

Keywords

none

Package Sidebar

Install

npm i @soapboxsocial/minis.js

Weekly Downloads

2

Version

2.3.0

License

MIT

Unpacked Size

33.8 kB

Total Files

15

Last publish

Collaborators

  • mirshko