
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

WEIV is a function-ware designed to act as a function based middle-ware for view engines. The ideology behind it is based on the concept of a view backwards (IE: weiv).
Git a copy from the repo and run npm install or use
npm install weiv --save
Basic usage using express.js and vinegar.js:
Your main express.js script:
var weiv = require('weiv');
var config_weiv = require('./configs/vinegar.js'),
weiv_config = weiv.configure(config_weiv,appdir);
app.use(function( req, res, next) {
res.weiv = weiv;
next();
});
// now use vinegar.express
app.get('/', function(req, res) {
var template = "./views/index.html";
vinegar.express(template,res,[{
res.weiv.view(template, res, [{VARIABLE: "Hello World"}]);
});
});
configs/weiv.js:
var Vinegar = require('vinegar');
module.exports = {
engine: "Vinegar",
script: "/path/to/assets/js/vinegar/Vinegar.js",
init: {
loads_templates: true
},
view: function (template, res, data) { return Vinegar.node(template, res, data) } // Raw Method
}
See the examples folder for the completed example.
#CONTRIBUTING
We encourage forking. Feel free to fork & pull your new additions, or bug fixes.
#LICENSE MIT
FAQs
Web Engine Intravenous Viewer
We found that weiv 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.