Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
next-routes-readme
Advanced tools
Next Routes Readme is a cool utility that helps generate short and brief markdown documentation for Next App Routes (Next 13+). It automates the process of extracting information from your App Route files and creates well-structured markdown documentation.
npm install next-routes-readme
npx next-routes-readme <path-to-your-app-folder>
Replace <path-to-api-folder>
with the path to the folder containing your API routes.
Here is an example of the generated documentation for an API route:
---
# Route 1: [examples/app/[dynamicRoute]/[...subMultipleDynamicRoutes]/route.ts](examples/app/[dynamicRoute]/[...subMultipleDynamicRoutes]/route.ts)
**Implementation**: `async function DELETE(_: NextRequest, { params }: { params: { dynamicRouteA: string; dynamicRouteB: string } })`
**HTTP Method**: `DELETE`
**Documentation**
**Variables**:
> **Value**: `const { dynamicRouteA, dynamicRouteB } = params;`
> **Line**: [examples/app/[dynamicRoute]/[...subMultipleDynamicRoutes]/route.ts#L7](examples/app/[dynamicRoute]/[...subMultipleDynamicRoutes]/route.ts#L7)
**Conditionals**:
*None*
**Comments**:
*None*
**Errors**:
*None*
**Query Params**:
*None*
**Route Params**:
> **Value**:...subMultipleDynamicRoutes
**Dependencies**:
`import { NextRequest, NextResponse } from 'next/server';`
If you'd like to contribute to this project, please follow these steps:
This project is licensed under the MIT License.
FAQs
Creates README badges from istanbul coverage report
The npm package next-routes-readme receives a total of 22 weekly downloads. As such, next-routes-readme popularity was classified as not popular.
We found that next-routes-readme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.