matrix-js-snippets
A small collection of snippets for repetitive tasks normally performed by matrix bots.
Installing
This package can be found on npm:
npm install matrix-js-snippets
Usage (matrix-js-sdk)
var matrixUtils = ;var sdk = ; // Create your clientvar client = sdk; // Enable the utiltiies you'd like to usematrixUtils; // supports optional callback // Don't forget to actually start the client too!client;