Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
express-markdown-browser
Advanced tools
Express middleware for viewing documentation in markdown from browser
#Express-Markdown-Browser
Express middleware for viewing documentation in markdown
npm install express-markdown-browser --save
For route:
var Emb = require('express-markdown-browser');
var emb = new Emb({path: __dirname + "/apidoc"});
var app = express();
app.get('/apidoc', emb);
After GET request to http:/yoursite.com/apidoc you will see specifications list for you project.
For all request without route:
var Emb = require('express-markdown-browser');
var emb = new Emb({path: __dirname + "/apidoc"});
var app = express();
app.get('/echo', function(req, res){
res.send("echo");
});
app.get('/echo2', function(req, res){
res.send("echo2");
});
app.use(emb);
After GET request to any free route (example: http://yoursite.com/somthing or http://yoursite.com/3242) you will see specifications list for you project.
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. </legalese>
Copyright (c) 2014, Webbylab. (MIT License)
See LICENSE for more info.
FAQs
Express middleware for viewing documentation in markdown from browser
The npm package express-markdown-browser receives a total of 11 weekly downloads. As such, express-markdown-browser popularity was classified as not popular.
We found that express-markdown-browser 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.