downson

A downson parser.

Usage no npm install needed!

<script type="module">
  import downson from 'https://cdn.skypack.dev/downson';
</script>

README

Downson.js

A downson parser, based on the fork of the awesome marked Markdown parser.

What's downson? It's the new configuration/data file format, y'all've been waiting for! :rocket: Check it out at here: downson.

Downson.js supports both server-side and client-side (browser) usage and has an accompanying CLI – downson-js-cli

Documentation

For a detailed API documentation, please see API.md.

Example

Node

Installation:

npm install downson --save

Usage:

const downson = require('downson');

const md =
`
  * What's your favourite **.greeting** [](right)?
  * [Hello, World!](string) What else?
`;

console.log(downson(md).data); // prints { greeting: 'Hello, World!' }

License

Copyright (c) 2011-2018, Attila Bagossy. (MIT License)