2.0.3 • Published 9 months ago
metacolon v2.0.3
metacolon
parses RFC 822-style text files with headers and body
NB: expects UTF-8 encoding
title: Hello World
format: markdown
lorem ipsum
dolor sit ametGetting Started
$ npm install metacolonimport { colonParse } from "metacolon";
let { headers, body } = await colonParse("./sample.md");
// `headers` is a `Map`, `body` a stringContributing
ensure your editor supports EditorConfig
ensure Node and Deno are installed
Node is our primary runtime environment while Deno provides development tooling
npm installdownloads dependenciesnpm testruns the test suitedeno testmight be used to check compatibility with alternative runtimesdeno task vetchecks code for stylistic consistencydeno fmtcan be used to automatically format code