koimo
YAML key differ
Last updated 6 years ago by geekjuice .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install koimo 
SYNC missed versions from official npm registry.

{ Koimo } Build Status

YAML Key Differ - Obtain the difference in keys between two YAML files. Great for YAML I18n language files.

koimo

Usage

Install

npm install -g koimo

Diff two YAML files (sans-color)

$ koimo examples/test1.yaml examples/test2.yaml

  ===================
   Koimo - YAML Diff
  ===================

  [ test1.yaml ] vs. [ test2.yaml ]

  Missing keys:

  - level1_1.level2_3.level3_1
  - level1_1.level2_3.level3_2
  - level1_2.level2_1.level3_2

  Additional keys:

  - level1_2.level2_2.level3_1

or more YAML files with more chopping

$ koimo --level=2 examples/*.yaml

  ===================
   Koimo - YAML Diff
  ===================

  [ test1.yaml ] vs. [ test2.yaml, test3.yaml ]

  Missing keys:

  - level2_3.level3_1
  - level2_3.level3_2
  - level2_1.level3_2

  Additional keys:

  - level2_2.level3_1

Components

Copyright

Copyright © 2014 Nicholas Hwang

Current Tags

  • 1.1.0                                ...           latest (6 years ago)

8 Versions

  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 8
Dependencies (5)
Dev Dependencies (7)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |