
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@adamtools/apifinder
Advanced tools
Finds all api endpoints of any nextjs project and adds them into README.md , makes api documentation easier
Automatically discover and document Next.js API endpoints by analyzing your project's file structure. ApiFinder scans your Next.js project for API routes in both Pages Router and App Router patterns, extracts HTTP methods, and generates beautiful documentation.
# Analyze current directory and update README.md
apifinder
# Analyze specific project path
apifinder --path /path/to/your/nextjs-project
# Output to custom file
apifinder --output API_DOCS.md
# Preview without updating files
apifinder --dry-run
# Get JSON output
apifinder --json
const { ApiFinder } = require('apifinder');
async function analyzeProject() {
const analyzer = new ApiFinder('./my-nextjs-project');
const endpoints = await analyzer.analyze();
console.log('Found endpoints:', endpoints);
// Generate markdown table
const markdownTable = analyzer.generateMarkdownTable();
console.log(markdownTable);
// Update README.md
await analyzer.updateReadme();
}
analyzeProject();
ApiFinder generates a table like this in your README:
| Route | Methods | File | Type |
|---|---|---|---|
/api/auth/login | POST | pages/api/auth/login.js | Pages Router |
/api/users | GET, POST | app/api/users/route.js | App Router |
/api/users/:id | GET, PUT, DELETE | app/api/users/[id]/route.js | App Router |
/api/posts/*slug | GET | pages/api/posts/[...slug].js | Pages Router |
| Option | Description | Default |
|---|---|---|
-p, --path <path> | Path to Next.js project | Current directory |
-o, --output <file> | Output README file | README.md |
--dry-run | Show endpoints without updating README | false |
--json | Output endpoints as JSON | false |
FAQs
Finds all api endpoints of any nextjs project and adds them into README.md , makes api documentation easier
The npm package @adamtools/apifinder receives a total of 14 weekly downloads. As such, @adamtools/apifinder popularity was classified as not popular.
We found that @adamtools/apifinder 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.