
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
nextjs-routes-docs
Advanced tools
Automatically generate Swagger Docs for your NextJS project.
For information about terms used in this document see: terminology
npx nextjs-routes-docs [dir]
npx nextjs-routes-docs --help
Usage: npx nextjs-routes-docs [dir]
Arguments:
dir Nextjs project directory
Options:
-V, --version output the version number
-t, --text Produce text docs
-s, --swagger Produce swagger docs
-p, --params [BETA] Parse code to get params
-o, --output <value> Choose output folder
-h, --help display help for command
Swagger: routes.yml
swagger: '2.0'
info:
title: Swagger API
version: 1.0.0
paths:
/api/room/join:
post:
parameters:
- in: body
name: roomId
- in: body
name: user
/api/room/update:
post:
parameters:
- in: body
name: roomId
- in: body
name: roomName
- in: body
name: roomSize
/api/room:
post:
parameters:
- in: body
name: roomId
- in: body
name: createdBy
get:
parameters:
- in: query
name: roomId
delete:
parameters:
- in: query
name: roomId
/api/user:
post:
parameters:
- in: body
name: userId
- in: body
name: userName
get:
parameters:
- in: query
name: userId
Plain text: routes
C:\Users\Tedis\Desktop\src\nextjs-project\pages\api\room\join.js
POST /api/room/join {body: {roomId, user}}
---------------------------------
C:\Users\Tedis\Desktop\src\nextjs-project\pages\api\room\update.js
POST /api/room/update {body: {roomId, roomName, roomSize}}
---------------------------------
C:\Users\Tedis\Desktop\src\nextjs-project\pages\api\room.js
POST /api/room {body: {roomId, createdBy}}
GET /api/room ?roomId
DELETE /api/room ?roomId
---------------------------------
C:\Users\Tedis\Desktop\src\nextjs-project\pages\api\user.js
POST /api/user {body: {userId, userName}}
GET /api/user ?userId
---------------------------------
hey@tedis.meFAQs
Generate docs for nextjs routes
The npm package nextjs-routes-docs receives a total of 45 weekly downloads. As such, nextjs-routes-docs popularity was classified as not popular.
We found that nextjs-routes-docs 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.