node-uci
node-uci is an implementation of the Universal Chess Interface protocol for node.js. In short, you can talk to engines (like Stockfish, Rybka, etc.) from node.js without any headaches. Abstracts away the pesky communication and parsing of UCI and provides a sane API to communicate with engines.
Install
Through npm with npm install node-uci
.
Usage / Docs
Usage examples and documentation
TLDR;
// orconst Engine = Engine // async/awaitconst engine = 'engine/executable/path'await engineawait engineawait engineconsoleconst result = await engineconsoleawait engine //promises with chainconst engine = 'engine/executable/path'engine
License
MIT
Contribute
PRs always welcome