plist-merge-patch
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

plist-merge-patch

Info.plist merging module. Inspired by json-merge-patch.

The tool is still a baby. We gladly accept unit test contributions.

Usage

var fs = require("fs");
var plistmergepatch = require("plist-merge-patch");

var session = new plistmergepatch.PlistSession(console);
session.load({
	name: "base",
	read: function() { return fs.readFileSync("Info.plist").toString(); }
});
session.patch({
	name: "patch",
	read: function() { return fs.readFileSync("Patch.plist").toString(); }
});
var result = session.build();
fs.writeFileSync("Result.plist", result);

Working with the repo

$ npm install

$ npm test
$ npm test
$ npm test

$ npm publish

/plist-merge-patch/

    Package Sidebar

    Install

    npm i plist-merge-patch

    Weekly Downloads

    3,481

    Version

    0.2.0

    License

    Apache-2.0

    Unpacked Size

    20 kB

    Total Files

    9

    Last publish

    Collaborators

    • tns-bot
    • rosen-vladimirov
    • stoskov
    • lini
    • walkerrunpdx
    • rigor789
    • nativescript-bot
    • bradmartin
    • tdermendjiev
    • sis0k0
    • rosen_vladimirov