
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
$ npm install webwork
//use shared webwork instance and bind any http method to any url
require('webwork').bind('/*',function(req,resp){
resp.end('Hello webwork');
}).start(8080)
//new webwork instance
const webwork = require('webwork');
const app = new webwork();
//bind default view resolver
var LiteEngine = require('lite');
var engine = new LiteEngine('./');
app.resolveView('*.xhtml',engine.render.bind(engine))
//bind get http method for any url and output model as json
app.bind('/resource/:id').get(function(req,resp){
this.title = 'Hello Webwork';
this.body = 'resource id:'+req.params.id;
});
//bind get http method for any other url and use template: 'success.xhtml'
app.bind('*').get(function(req,resp){
this.title = 'Hello Webwork';
this.body = 'url path:'+req.params[0];
return '/success.xhtml'
});
app.start();
FAQs
restfull api gate app framework
The npm package webwork receives a total of 1 weekly downloads. As such, webwork popularity was classified as not popular.
We found that webwork 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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.