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

amongus-protocol

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amongus-protocol

A recreated Among Us protocol implemented in Typescript.

latest
Source
npmnpm
Version
1.2.6
Version published
Maintainers
1
Created
Source

AmongUs-Protocol

Alt text

See the wiki for more information on the protocol.

Documentation is available for preview at http://thechimp.store/amongus-protocol/

An implementation of the Among Us protocol made in Typescript

  • Lightweight, 0 external dependencies.
  • Comprehensive coverage of the Among Us protocol.
  • Features full object and component system.
  • Easy to install & use.

Data gathered from

Install

With NPM: npm install --save amongus-protocol

Or clone with Git: git clone https://github.com/edqx/amongus-protocol

Example

import {
    AmongusClient,
    MasterServers,
    ColourID,
    HatID,
} from "amongus-protocol"

const server = MasterServers.EU[0];

const client = new AmongusClient({
    debug: false
});

await client.connect(server[0], server[1], "weakeyes");

const game = await client.join(process.argv[2]);

game.me.on("spawn", () => {
    game.me.setName("weakeyes");
    game.me.setColour(ColourID.Black);
    game.me.setHat(HatID.Plague);
});

Notes

Recommended node: v14+ Recommended TS: 4.0+

This repository is licensed under the MIT license, I am not responsible for anything you do using this library.

FAQs

Package last updated on 01 Dec 2020

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