
Threat Research
/Security News
Searchjacked: Hidden Browser Extensions Hijack Searches for 13 Million Users
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.
@farming-labs/docs
Advanced tools
AI-native documentation for Next.js, TanStack Start, SvelteKit, Astro, and Nuxt.
Write Markdown or MDX, configure your docs in TypeScript, and ship a polished documentation
experience for people, IDEs, and AI agents. @farming-labs/docs provides the shared configuration,
types, content pipeline, agent tooling, and CLI used by the Farming Labs framework adapters.
docs.config.ts file for routing, themes, search, metadata, feedback, and AI featuresCallout, Tabs, HoverLink, and Prompt.md routes, llms.txt, sitemaps, JSON-LD, agent discovery, and MCPRun the interactive setup inside an existing project:
npx @farming-labs/docs@latest init
Or bootstrap a new documentation project from a template:
npx @farming-labs/docs@latest init --template next --name my-docs
Available templates are next, tanstack-start, sveltekit, astro, and nuxt. The CLI installs
the packages for your framework, creates the config and starter pages, and adds the theme CSS.
| Framework | Core and adapter | Theme |
|---|---|---|
| Next.js | @farming-labs/docs, @farming-labs/next | @farming-labs/theme |
| TanStack Start | @farming-labs/docs, @farming-labs/tanstack-start | @farming-labs/theme |
| SvelteKit | @farming-labs/docs, @farming-labs/svelte | @farming-labs/svelte-theme |
| Astro | @farming-labs/docs, @farming-labs/astro | @farming-labs/astro-theme |
| Nuxt | @farming-labs/docs, @farming-labs/nuxt | @farming-labs/nuxt-theme |
Every framework uses defineDocs(). A minimal Next.js config looks like this:
import { defineDocs } from "@farming-labs/docs";
import { fumadocs } from "@farming-labs/theme";
export default defineDocs({
entry: "docs",
theme: fumadocs(),
metadata: {
titleTemplate: "%s – Docs",
description: "My documentation site",
},
});
Next.js projects also wrap next.config.ts:
import { withDocs } from "@farming-labs/next/config";
export default withDocs();
Import your selected theme in the app's global stylesheet:
@import "tailwindcss";
@import "@farming-labs/theme/default/css";
Import the CSS for the selected preset. The default fumadocs() preset uses
@farming-labs/theme/default/css. SvelteKit, Astro, and Nuxt import their theme helpers from the
corresponding packages shown above; the CLI wires up the right config and CSS automatically.
---
title: "Installation"
description: "Get up and running"
---
# Installation
Your documentation starts here.
Routing is file-based, so a page such as app/docs/guides/deployment/page.mdx becomes
/docs/guides/deployment in Next.js. The CLI scaffolds the correct directory layout for every
supported framework.
Custom MDX integrations can import remarkCodeGroup, applyDocsMarkdownHeadingAnchors,
encodeDocsHeadingTocUrls, isolateDocsMarkdownPromptReferences, and
withDocsMarkdownRenderableHeadings from @farming-labs/docs/mdx. This entry point exposes the
same helpers without loading the unrelated core/server runtime exports. Existing imports from
the root and server entry points remain supported.
Farming Labs can expose the same docs in machine-readable forms, including:
llms.txt and full-document feedsskill.md, multi-skill discovery with hashed companion assets, AGENTS.md, and agent discovery endpointsrobots.txtdocs doctor --agentMIT
FAQs
Modern, flexible MDX-based docs framework — core types, config, and CLI
The npm package @farming-labs/docs receives a total of 14,948 weekly downloads. As such, @farming-labs/docs popularity was classified as popular.
We found that @farming-labs/docs 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.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.