Node.js port of libvarnam