New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mppclone-client

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mppclone-client

MPPClone client

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

mppclone-client

This module is a fork of the MPP client with token-based authentication. This module is only meant for MPPClone, but it will work on any MPP site that uses token-based authentication in the same way as MPPClone.

This module is not officially affiliated with MPPClone.

Usage

It is strongly recommended that you keep your tokens in a safe place where nobody else can access them.

# .env
TOKEN=your token here
// index.js

// Load environment variables into process.env
require('dotenv').config();

const Client = require('mppclone-client');
let cl = new Client("wss://mppclone.com:8443", process.env.TOKEN);

cl.start();
cl.setChannel('test/awkward');

cl.on('a', msg => {
    if (msg.a == "!ping") {
        cl.sendArray([{
            m: "a",
            message: "Pong!"
        }]);
    }
});

FAQs

Package last updated on 23 May 2023

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