You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

gyp-merge

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gyp-merge

Functions to merge data structures from gyp files


Version published
Weekly downloads
521
increased by3.37%
Maintainers
1
Created
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

Package last updated on 16 Oct 2018

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc