gyp-merge
Advanced tools
Weekly downloads
Readme
This module implements the data structure merging algortithms used in evaluating includes and conditions in gyp files.
var gypMerge = require('gyp-merge')({noSingletons: false});
console.log(gypMerge.mergeDictionary(
{a: 1, b: 2, c: [3, 4, 5]},
{a: 6, b: 7, "d+": [8, 9, 10]}
));
The extra ()
is configuration. Right now, the only option is { noSingletons: true }
, which disables the "singleton" behavior when merging lists, keeping
order but eliding duplicates.
FAQs
Functions to merge data structures from gyp files
The npm package gyp-merge receives a total of 749 weekly downloads. As such, gyp-merge popularity was classified as not popular.
We found that gyp-merge 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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.