Skip to content

battila7/downson-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🚀 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)

About

A downson parser library based on marked.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%