This is a Mozilla Add-on SDK module for working with the Firefox Search Engine service.
These are the major modules this SDK module wraps for you:
const { BrowserSearchEngines } = require("browser-search-engine");
var google = BrowserSearchEngines.get('google');
var url = google.getSubmission('puppies');