Node API to hmsearch library