libfbembedded can be used with a few tweaks 

cleanup and  libfbembedded can be used with a few tweaks https://groups.google.com/forum/#!searchin/nodejs/firebird/nodejs/IoRlz2hT24I/FDdGui-cpxIJ