chess-polyglot is node module to grab moves from Polyglot-formatted opening-book bin files
github.com/blamere/chess-polyglot
blamere/chess-polyglot