Nodejs module for autocomplete actions using tries