ascii2d wrapper for Node.js.
yarn add ascii2d
import {searchByUrl, searchByFile} from 'ascii2d';
searchByUrl('https://example.com/yourimage.jpg', 'color').then((result) =>
console.log(result),
);
searchByFile('./input.jpg', 'bovw').then((result) => console.log(result));