Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Add helper methods
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed May 14, 2019
1 parent 636c60c commit c63cba4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/plist.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,12 @@ async function updatePlistFile (plist, updatedFields, binary = true, mustExist =
}
}

export { parsePlistFile, updatePlistFile };
function createBinaryPlist (data) {
return bplistCreate(data);
}

function parseBinaryPlist (data) {
return bplistParse.parseBuffer(data);
}

export { parsePlistFile, updatePlistFile, createBinaryPlist, parseBinaryPlist };

0 comments on commit c63cba4

Please sign in to comment.