This is a 'patched' version of pavelvlasov's original library that uses more modern and faster JavaScript.
Dynamic helpers monkey patch for express 3.x and 4.x
Using yarn:
yarn add @marvnet/express-dynamic-helpers-patch
Using npm:
npm install @marvnet/express-dynamic-helpers-patch --save
require('@marvnet/express-dynamic-helpers-patch')(app);
// and now You can use 2.x express dynamicHelpers
app.dynamicHelpers({
user: function (req, res) {
...
}
});
This project is licensed under the MIT license.