Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
test
.npmignore
package.json
readme.md

readme.md

@sphido/frontmatter

Install

yarn add @sphido/frontmatter

Example

const globby = require('globby');
const Sphido = require('@sphido/core');
const frontmatter = require('@sphido/frontmatter');

(async () => {

  const pages = await Sphido.getPages(
    await globby('content/**/*.{md,html}'),
    frontmatter
  );

})();
You can’t perform that action at this time.