From Data to Application: Unlocking Potential with Velite

From Data to Application: Unlocking Potential with Velite

Velite is a tool for building type-safe data layer, turn Markdown / MDX, YAML, JSON, or other files into app's data layer with Zod schema.

Features

  • Easy to use: Move your contents into content folder, define collections schema, run velite, then use the output data in your application.
  • Type-safe: Contents schema validation by Zod, and generate type inference for TypeScript.
  • Framework Agnostic: JSON & Entry & DTS output, out of the box support for any JavaScript framework or library.
  • Light-weight: Choose more native APIs instead of bloated NPM modules, less runtime dependencies, so it is fast and efficiently.
  • Still powerful: Built-in Markdown / MDX, YAML, JSON support, relative files & images processing, schema validation, etc.
  • Configurable: Both input and output directories can be customized, and support for custom loaders, hooks, etc.
  • Extensible: Support any file types by custom loaders, Custom field validation and transform by custom schema, and any output formats by hooks.

License

MIT License

Resources & Downloads

GitHub - zce/velite: Turns Markdown / MDX, YAML, JSON, or others into app’s data layer with Zod schema.
Turns Markdown / MDX, YAML, JSON, or others into app’s data layer with Zod schema. - zce/velite
Velite | Make Creative Contents Easy
Velite is a tool for building type-safe data layer, turn Markdown/MDX, YAML, JSON, or other files into app’s data layer with Zod schema.