
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.
Simple middleware layer for web applications, inspired by Connect and others. Work in Progress.
Simple middleware layer for web applications, inspired by Connect and others. Work in Progress.
Via npm using (Node.js)[http://nodejs.org]:
npm install simpleweb
Reference in your program:
var simpleweb = require('simpleweb');
A simple web server:
var simpleweb = require('simpleweb'),
http = require('http');
var app = simpleweb();
// Configuring middleware
app.use(simpleweb.query());
app.use(simpleweb.body());
app.use(app.router);
app.use(simpleweb.static(path.join(__dirname, 'public')));
// Configuring routes
app.get('/', function (req, res) { /* .... */ });
app.get('/customer', function (req, res) { /* .... */ });
app.get('/customer/new', function (req, res) { /* .... */ });
app.post('/customer/new', function (req, res) { /* .... */ });
app.get('/supplier', function (req, res) { /* .... */ });
// Launch the web server
var server = http.createServer(app).listen(8000);
TBD
git clone git://github.com/ajlopez/SimpleWeb.git
cd SimpleWeb
npm install
npm test
Static Simple site with static pages.
Customers Dinamic pages, in-memory repository.
Feel free to file issues and submit pull requests � contributions are welcome.
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that npm test continues to pass.
FAQs
Simple middleware layer for web applications, inspired by Connect and others. Work in Progress.
We found that simpleweb 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.