2.0.3 • Published 5 months ago

metacolon v2.0.3

Weekly downloads
36
License
Apache-2.0
Repository
github
Last release
5 months ago

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 amet

Getting Started

$ npm install metacolon
import { colonParse } from "metacolon";

let { headers, body } = await colonParse("./sample.md");
// `headers` is a `Map`, `body` a string

Contributing

  • ensure your editor supports EditorConfig

  • ensure Node and Deno are installed

    Node is our primary runtime environment while Deno provides development tooling

  • npm install downloads dependencies

  • npm test runs the test suite

    deno test might be used to check compatibility with alternative runtimes

  • deno task vet checks code for stylistic consistency

    deno fmt can be used to automatically format code

2.0.3

5 months ago

2.0.2

5 months ago

2.0.1

5 months ago

2.0.0

5 months ago

1.1.1

4 years ago

1.1.0

6 years ago

1.0.0

7 years ago