Skip to main content

erlc.js Docs

Stop!

If you've never used erlc.js before, it's strongly recommended you look at the Guide first!

What is erlc.js?

erlc.js is a useful node.js package that lets you connect your application easily to the ER:LC API.

Installation

erlc.js can be installed with npm, a node.js package manager.

npm install erlc.js

Example usage

Install erlc.js

npm install erlc.js

Run a command on a server

const { Server } = require("erlc.js")

const privateServer = new Server("SERVER-KEY", "AUTHORIZATION-KEY")
privateServer.initiate()

privateServer.sendCommand("m", ["Hello World!"])

for more, look at the Guide