Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
appresource
Advanced tools
Rails, Laravel -like resource routes for express
$ npm install appresource
var app = express();
var appresource = require('appresource')(app);
var UserController = require('./controller/UserController');
app.get('/hello', function(req, res) {});
appresource('/users', UserController);
Or use on express.Router
var router = express.Router();
var routerresource = require('appresource')(app);
var UserController = require('./controller/UserController');
router.get('/hello', function(req, res) {});
routerresource('/users', UserController);
UserController.js:
module.exports = {
index: function(req, res) {},
create: function(req, res) {},
store: function(req, res) {},
show: function(req, res) {},
edit: function(req, res) {},
update: function(req, res) {},
destroy: function(req, res) {}
}
MIT © C. T. Lin
FAQs
Rails, Laravel -like resource routes for express
We found that appresource 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.