# Contentlayer

Content SDK that validates Markdown, MDX and JSON content against a schema and generates type-safe data for an application.


Source: https://findsoftware.frbit.cloud/contentlayer/
Last reviewed: 2026-10-23
Updated: 2026-10-25
Listed since: 2026-10-23

## Record

### Links

- home: https://contentlayer.dev
- repository: https://github.com/contentlayerdev/contentlayer
- docs: https://contentlayer.dev/docs
- x: https://twitter.com/contentlayerdev
- discord: https://discord.gg/rytFErsARm

### Identity

- status: discontinued
- maintainer: Stackbit Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2021
- hqCountry: unknown

### Kind

- category: unknown
- hosting: unknown
- language: javascript
- runtime: node
- runtimeMin: node 14
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: local
- renderingModes: unknown
- installMethod: npm install contentlayer next-contentlayer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2023-06-29

### Adoption

- githubStargazers: 3540
- packagistDownloads: not applicable
- npmWeeklyDownloads: 12671
- contributors: 74
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1488
- dependentPackages: 19

### Sources

- status: https://github.com/contentlayerdev/contentlayer/blob/main/packages/contentlayer/README.md (read 2026-10-23)
- urls: https://contentlayer.dev/ (read 2026-10-23)
- urls: https://api.github.com/repos/contentlayerdev/contentlayer (read 2026-10-23)
- urls: https://contentlayer.dev/docs/getting-started-cddd76b7 (read 2026-10-23)
- name: https://contentlayer.dev/ (read 2026-10-23)
- description: https://contentlayer.dev/ (read 2026-10-23)
- language: https://api.github.com/repos/contentlayerdev/contentlayer (read 2026-10-23)
- runtime: https://registry.npmjs.org/contentlayer/latest (read 2026-10-23)
- runtimeMin: https://registry.npmjs.org/contentlayer/latest (read 2026-10-23)
- installMethod: https://contentlayer.dev/docs/getting-started-cddd76b7 (read 2026-10-23)
- runsAs: https://contentlayer.dev/ (read 2026-10-23)
- license: https://registry.npmjs.org/contentlayer/latest (read 2026-10-23)
- licenseModel: https://raw.githubusercontent.com/contentlayerdev/contentlayer/main/LICENSE (read 2026-10-23)
- maintainer: https://raw.githubusercontent.com/contentlayerdev/contentlayer/main/LICENSE (read 2026-10-23)
- firstRelease: https://registry.npmjs.org/contentlayer (read 2026-10-23)
- currentMajor: https://api.github.com/repos/contentlayerdev/contentlayer/releases (read 2026-10-23)
- latestReleaseDate: https://api.github.com/repos/contentlayerdev/contentlayer/releases (read 2026-10-23)
- githubStargazers: https://api.github.com/repos/contentlayerdev/contentlayer (read 2026-10-23)
- contributors: https://api.github.com/repos/contentlayerdev/contentlayer/contributors (read 2026-10-23)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/point/last-week/contentlayer (read 2026-10-23)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/contentlayer (read 2026-10-25)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/contentlayer (read 2026-10-25)

## Notes

Contentlayer is a content SDK that validates content files and turns them into type-safe JSON data an application can import. It reads local Markdown, MDX, JSON and YAML files, and runs as part of the Next.js dev server or through its CLI. It is installed with npm and set up in a Next.js project with the next-contentlayer plugin. Its LICENSE names Stackbit Inc. and Johannes Schickling as copyright holders.

## Worth knowing

The README says Contentlayer is no longer maintained because of lack of funding, and it links a fork. The repository is not archived, so the discontinued status rests on that statement alone.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
