@inkdropapp/cson-to-yaml
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i @inkdropapp/cson-to-yaml

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

8.85 kB

Total Files

12

Last publish

Collaborators

  • craftzdog