An open API service indexing awesome lists of open source software.

https://github.com/harvzor/fusion-markup-language

Fusion Markup Language is a fusion of existing markup languages.
https://github.com/harvzor/fusion-markup-language

fml javascript markup-language node

Last synced: about 1 month ago
JSON representation

Fusion Markup Language is a fusion of existing markup languages.

Awesome Lists containing this project

README

          

[![Build Status](https://cloud.drone.io/api/badges/Harvzor/fusion-markup-language/status.svg)](https://cloud.drone.io/Harvzor/fusion-markup-language)
[![codecov](https://codecov.io/gh/Harvzor/fusion-markup-language/branch/master/graph/badge.svg)](https://codecov.io/gh/Harvzor/fusion-markup-language)
[![npm version](https://badge.fury.io/js/fusion-markup-language.svg)](https://badge.fury.io/js/fusion-markup-language)

# Fusion Markup Language

> One *markup language* to rule them all, One *markup language* to find them, One *markup language* to bring them all and in the darkness bind them

![fusion-markup-language logo](https://github.com/Harvzor/fusion-markup-language/raw/master/.github/fml.png)

## What?

Fusion Markup Language combines the most popular markup languages into one language:

```fml
{
"person": {

Rick
Astley

}
}
```

Fusion Markup Language allows you to embed `json` and `xml` in the same string, this new format is called **FML**.

## How?

Get FML:

```
npm install fusion-markup-language
```

Parse some `fml` in the same way as you would use `JSON.parse()`:

```
const FML = require('fusion-markup-language')

const personObject = FML.parse(`


{
"name": {
"firstName": "Rick",
"lastName": "Astley"
}
}

`)

console.log(personObject)
```

## Why?

When it comes to markup languages, developers are spoiled with choice, such as `csv`, `xml`, `json`, `yaml` and `toml`. But why should we pick just one?

Fusion Markup Language attempts to provide an all-in-one solution that can fit any size project.

When you're stuck deciding which markup language, just think FML!