https://github.com/nativescript/plist-merge-patch
Nodejs Info.plist merging module
https://github.com/nativescript/plist-merge-patch
Last synced: 5 months ago
JSON representation
Nodejs Info.plist merging module
- Host: GitHub
- URL: https://github.com/nativescript/plist-merge-patch
- Owner: NativeScript
- License: apache-2.0
- Created: 2015-11-26T15:40:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-21T18:01:35.000Z (about 3 years ago)
- Last Synced: 2025-03-23T16:32:51.298Z (about 1 year ago)
- Language: TypeScript
- Size: 49.8 KB
- Stars: 0
- Watchers: 32
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```