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.
- Host: GitHub
- URL: https://github.com/harvzor/fusion-markup-language
- Owner: harvzor
- License: mit
- Created: 2020-01-31T11:41:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:36:08.000Z (over 3 years ago)
- Last Synced: 2025-09-14T15:54:09.117Z (10 months ago)
- Topics: fml, javascript, markup-language, node
- Language: JavaScript
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://cloud.drone.io/Harvzor/fusion-markup-language)
[](https://codecov.io/gh/Harvzor/fusion-markup-language)
[](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

## 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!