Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

gyp-merge

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

gyp-merge

Functions to merge data structures from gyp files

    0.3.0latest
    GitHub

Version published
Maintainers
1
Weekly downloads
918
increased by14.04%

Weekly downloads

Readme

Source

gyp-merge

This module implements the data structure merging algortithms used in evaluating includes and conditions in gyp files.

Usage

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

Last updated on 16 Oct 2018

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc