Miss any of our Open RFC calls?Watch the recordings here! »

cccf-diff

3.0.2 • Public • Published

cccf-diff

NPM

This module can diff two cccf configs / states. It takes current and a wanted state and returns an object of containers to add, remove and keep in order to get you there.

Install

npm install cccf-diff

Use

var diff = require('cccf-diff')(current, wanted)
// => { add : [], remove : [], keep : [] }

Changelog

3.0.2

  • Patched a global variable leak

3.0.1

  • Handles properties in random order (does a sort pre diff)

3.0.0

  • Now looking at all properties of the containers (not just the id's)

2.0.1

  • Updated docs

2.0.0

  • Using cccf v3.0.0

1.0.0

  • Initial release

Keywords

Install

npm i cccf-diff

DownloadsWeekly Downloads

0

Version

3.0.2

License

BSD

Last publish

Collaborators

  • avatar