@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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @inkdropapp/cson-to-yaml

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

8.85 kB

Total Files

12

Last publish

Collaborators

  • craftzdog