A quick converter from CSON to YAML
npm i @inkdropapp/cson-to-yaml
Usage
import { cson2yaml } from '../'
import YAML from 'js-yaml'
const cson = `array: [
1
2
3
]`
const yaml = cson2yaml(cson)
const json = YAML.load(yaml)
npm i @inkdropapp/cson-to-yaml
import { cson2yaml } from '../'
import YAML from 'js-yaml'
const cson = `array: [
1
2
3
]`
const yaml = cson2yaml(cson)
const json = YAML.load(yaml)
npm i @inkdropapp/cson-to-yaml
1
0.1.1
MIT
8.85 kB
12