Socket
Book a DemoInstallSign in
Socket

matrix-js-snippets

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

matrix-js-snippets

A small collection of JS snippets for matrix bots

0.2.8
latest
Source
npmnpm
Version published
Weekly downloads
51
920%
Maintainers
2
Weekly downloads
 
Created
Source

matrix-js-snippets

npm version TravisCI badge

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 = require("matrix-js-snippets");
var sdk = require("matrix-js-sdk");

// Create your client
var client = sdk.createClient({ /* your arguments here */ });

// Enable the utiltiies you'd like to use
matrixUtils.autoAcceptInvites(client); // supports optional callback

// Don't forget to actually start the client too!
client.startClient();

Keywords

matrix

FAQs

Package last updated on 07 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.