Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

FFF Flavored Frontmatter

🌟 Yet Another Opinionated Frontmatter Variable Specs.

Installation

Pls confirm the version you need before installing, or always keep the latest version.

pnpm add -D fff-flavored-frontmatter # pnpm
yarn add fff-flavored-frontmatter # yarn
npm i -D fff-flavored-frontmatter # npm

Usage

Use in a ESM + TypeScript Node.js project:

import type { FFFFlavoredFrontmatter } from 'fff-flavored-frontmatter'
// import type { FFFBase, FFFExtra } from 'fff-flavored-frontmatter' // if you need them
// import type { FFFImage, FFFAudio, FFFVideo, FFFAuthor } from 'fff-flavored-frontmatter' // if you need them

CJS is also supported.

const { FFFFlavoredFrontmatter } = require('fff-flavored-frontmatter')

Or Deno?

import type { FFFFlavoredFrontmatter } from "https://deno.land/x/fff/fff.ts";