How to use the plist.parseString function in plist

To help you get started, we’ve selected a few plist examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ajaxorg / ace / tool / tmsnippets.js View on Github external
function readSnippet(path, name) {
    if (name)
        path += name
    console.log(name)
    if (!/\.(tmSnippet|sublime-snippet|plist)$/i.test(path))
        return
    console.log(name)
    var plistString = fs.readFileSync(path, "utf8");
    plist.parseString(plistString, function(_, plist){
        snippets.push(plist)
    })
}
github msdevstep / subroute.io / Subroute.App / lib / ace / tool / tmsnippets.js View on Github external
function readSnippet(path, name) {
    if (name)
        path += name
    console.log(name)
    if (!/\.(tmSnippet|sublime-snippet|plist)$/i.test(path))
        return
    console.log(name)
    var plistString = fs.readFileSync(path, "utf8");
    plist.parseString(plistString, function(_, plist){
        snippets.push(plist)
    })
}
github msdevstep / subroute.io / Subroute.App / lib / ace / tool / tmtheme.js View on Github external
function parseTheme(themeXml, callback) {
    parseString(themeXml, function(_, theme) {
        callback(theme[0])
    });
}
github NPellet / visualizer / src / components / ace / tool / tmtheme.js View on Github external
function parseTheme(themeXml, callback) {
    parseString(themeXml, function(_, theme) {
        callback(theme[0])
    });
}

plist

Apple's property list parser/builder for Node.js and browsers

MIT
Latest version published 1 year ago

Package Health Score

74 / 100
Full package analysis