New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsonfilecomparer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonfilecomparer

Tool to compare a list of JSON files to find missing or additional keys compared to a JSON master file.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

jsonl10nfilecomparer

Tool to compare a list of JSON files to find missing or additional keys compared to a JSON master file.

Example command line:

$ node jsonfilecomparer.js master.json another.json even-another.json

This will compare

  • master.json with another.json
  • master.json with even-another.json

The result is the output of each key found in master.json but missing in another.json and the other way around. And the same for the comparison of master.json with even-another.json too:

master: master.json

MISSING IN another.json:
[ 'global.cancel',
  'global.submit',
  'errorHandling' ]
ADDITIONAL IN another.json:
[ 'some-other-key-only-in-another.json' ]

It comes pretty handy for managing various JSON translation and configuration files. Which is the reason for the package name.

FAQs

Package last updated on 03 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc