
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
cli-gen_diff
Advanced tools
gendiff compares two configuration files and shows difference. The package can be used as CLI utility or Node.js package that can be used in your project.
gendiff supports file extensions such as json, yaml, yml, ini. It can output the result in 'tree' and 'plain' formats. It's also possible to output in json format for data exchange using the json option. You can select the output format by setting the option flag -f (--format). By default output format 'tree'.
For example:
$ gendiff --format plain project/configurations/before.json project/configurations/after.json
or
$ gendiff project/configurations/before.ini project/configurations/after.ini
$ git clone https://github.com/portal-x/backend-project-lvl2.git
$ make install
$ npm link
$ npm install gendiff
gendiff supports file extensions such as json, yaml, yml, ini. It can output the result in 'tree' and 'plain' formats. It's also possible to output in json format for data exchange. Set the json in parameter. By default output format 'tree'.
For example:
import gendiff from 'gendiff';
const diff = gendiff('./forExample/before.json', '/user/documents/after.json', 'json');
FAQs
Compares two configuration files and shows a difference.
We found that cli-gen_diff demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.