kv-formats

0.1.0 • Public • Published

kv-formats

Convert between KV formats

JavaScript

const kvFormats = require('kv-formats');
kvFormats.plist.stringify(
  kvFormats.yaml.parse(yamlFile)
);

HTTP

curl -XPOST -d @./package.json "https://j4db2yxkwh.execute-api.us-east-1.amazonaws.com/production/convert?outputType=ini&inputType=json"

CLI

kv-formats -o toml ./package.json

Formats supported

  • json
  • yaml
  • toml
  • ini
  • querystring
  • plist
  • msgpack

License

AGPLv3

Dependencies (9)

Dev Dependencies (4)

Package Sidebar

Install

npm i kv-formats

Weekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • yamadapc