MCPcopy
hub / github.com/nuxt/content

github.com/nuxt/content @v3.15.0 sqlite

repository ↗ · DeepWiki ↗ · release v3.15.0 ↗
458 symbols 1,442 edges 160 files 30 documented · 7%
README

nuxt-content-social-card

Nuxt Content

npm version npm downloads License Nuxt Volta

Nuxt Content reads the content/ directory in your project, parses .md, .yml, .csv or .json files and creates a powerful data layer for your application. Bonus, use Vue components in Markdown with the MDC syntax.

Features

  • Nuxt 3 support
  • Work in serverless and edge environments (Cloudflare Workers, etc.)
  • Render Vue components in Markdown with the MDC syntax
  • Fully typed collections and queries
  • Navigation generation
  • Blazing fast hot module replacement in development
  • Code highlighting with Shiki
  • Powerful query builder on top of SQLite database
  • ... and more

💻 Development

  • Clone repository
  • Install dependencies using pnpm install
  • Prepare using pnpm dev:prepare
  • Build using pnpm prepack
  • Try playground using pnpm dev
  • Test using pnpm test

License

MIT - Made with 💚

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
src/types/global.d.ts
StudioAIConfig (Interface)
(no doc)
src/utils/studio.ts
ContentLLMSCollectionSection (Interface)
(no doc)
src/features/llms/runtime/server/utils.ts
ChainablePromise (Interface)
(no doc)
src/runtime/client.ts
ImportMeta (Interface)
(no doc)
src/types/global.d.ts
GitInfo (Interface)
(no doc)
src/utils/git.ts
ChainablePromise (Interface)
(no doc)
src/runtime/server.ts
PageCollections (Interface)
(no doc)
src/types/collection.ts

Core symbols most depended-on inside this repo

expect
called by 415
test/mock/bun-test-stub.ts
defineCollection
called by 71
src/utils/collection.ts
all
called by 40
src/types/database.ts
resolveCollection
called by 38
src/utils/collection.ts
exec
called by 37
src/types/database.ts
where
called by 32
src/runtime/server.ts
collectionQueryBuilder
called by 27
src/runtime/internal/query.ts
parseContent
called by 25
test/utils/content.ts

Shape

Function 345
Interface 74
Method 35
Class 4

Languages

TypeScript100%

Modules by API surface

src/utils/content/transformers/csv/create-tokenizer.ts27 symbols
src/runtime/client.ts24 symbols
src/utils/content/transformers/csv/from-csv.ts18 symbols
src/runtime/server.ts18 symbols
src/utils/content/transformers/csv/parser.ts17 symbols
src/types/query.ts16 symbols
src/runtime/internal/query.ts16 symbols
src/utils/collection.ts14 symbols
src/types/collection.ts14 symbols
src/utils/database.ts12 symbols
src/types/database.ts12 symbols
src/utils/templates.ts10 symbols

Dependencies from manifests, versioned

@cloudflare/workers-types4.20260630.1 · 1×
@libsql/client0.17.4 · 1×
@nuxt/contentlink:. · 1×
@nuxt/devtools3.2.4 · 1×
@nuxt/eslint-config1.16.0 · 1×
@nuxt/kit4.4.8 · 1×
@nuxt/module-builder1.0.2 · 1×
@nuxt/schema4.4.8 · 1×
@nuxt/test-utils4.0.3 · 1×
@nuxt/ui4.9.0 · 1×
@nuxthub/core0.10.7 · 1×
@nuxtjs/i18n10.4.0 · 1×

For agents

$ claude mcp add content \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact