0.12.0 • Published 9 months ago
@equestria.dev/signal-cli v0.12.0
signal-cli for Signal.js
This is a cross-platform package used to bundle signal-cli with the Signal.js library. It is not meant to be used as a standalone library.
Note: This package is NOT affiliated with the signal-cli developers and is distributed by Equestria.dev as part of Signal.js.
Usage
Simply require
(or import
if you use TypeScript) this package to get the absolute path to the signal-cli executable for the correct system and architecture.
On ARM devices running Windows and macOS, only the x86 executable is provided.
Here is how to use it:
const child_process = require('child_process');
const signal_cli = require('@equestria.dev/signal-cli');
let version = child_process.execFileSync(signal_cli, ["--version"]).toString().trim();
console.log(version);
// Shows: signal-cli 0.11.11
This library is updated as new versions of signal-cli are released.