
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
load-engine
Advanced tools
Load in engines for transformers asyncronously. This can also be used to load other npm modules.
var load = require('load-engine');
load(['marked', 'supermarked', 'markdown-js', 'markdown'], function (err, res) {
if (err) throw err;
assert(Array.isArray(res));
assert(res.length === 1);
assert(res[0] === require('marked'));
});
Results in
You must install one of the following:
1) "marked"
2) "supermarked"
3) "markdown-js"
4) "markdown"
type the number of the module to install or press enter to cancel:
And the assertion passes if the user types 1.
load([['foo', 'bar']], function (err, res) {
if (err) throw err;
assert(Array.isArray(res));
assert(res.length === 2);
assert(res[0] === require('foo'));
assert(res[1] === require('bar'));
});
Results in
Do you wish to install ["foo","bar"]? (yes)
And the assertions pass if the user presses enter, types y, types ye or types yes.
FAQs
Loads npm modules on demand (providing `npm` is installed globally)
We found that load-engine demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.