
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
Simplyfing the development of applications with support for JavaScript and TypeScript. Vkrun also provides a robust, opinion-free, and scalable solution for your needs.
VkrunJs documentation, visit vkrunjs.org
npm install vkrun
yarn add vkrun
import v from "vkrun";
const vkrun = v.App();
vkrun.get("/", (req: v.Request, res: v.Request) => {
res.status(200).send("Hello World!");
});
vkrun.server().listen(3000, () => {
console.log("Vkrun started on port 3000");
});
3.5.0
feat(parse-data): add route-level override and advanced body parsing options
parseData() can now be used globally (app.use(parseData())) or per route (router.post("/x", parseData(...))), allowing fine-grained control over request parsing.
Added body.inflate option for automatic decompression of gzip, deflate, and br-encoded request bodies.
Added body.type filter to restrict parsing to specific MIME types (string or RegExp).
Added body.raw option to store the unparsed request body (Buffer) in req.rawBody, useful for signature verification (e.g., HMAC webhooks).
Added body.limit to enforce a maximum request body size (default 10 MB).
Added security.verify callback to perform custom request verification before parsing (ideal for webhook authentication).
Added unified MIME-type matching via the new matchMimeType helper function.
Improved security.escapeSQL to consistently sanitize data across:
Protection against common SQL injection patterns:
' OR '1'='1)UNION SELECTSLEEP, WAITFOR DELAY)parseData is now fully compatible with Express body-parser behavior, supporting:
application/json)application/x-www-form-urlencoded)multipart/form-data)application/octet-stream) and text (text/*)Standardized error responses:
400 Invalid Request Data400 Invalid Compressed Data415 Unsupported Content-Encoding413 Payload Too LargeInternal refactor for async-safe stream reading and memory usage.
Partial parsing support when type does not match (only params and query are processed).
Enhanced error handling for invalid compression and oversized payloads.
Expanded end-to-end test coverage for:
rawBody)Achieved 100% test coverage for all parsing modes and error scenarios in the parse-data module.
FAQs
Vkrun is a Node.js framework for building server-side applications
The npm package vkrun receives a total of 131 weekly downloads. As such, vkrun popularity was classified as not popular.
We found that vkrun demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.