Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 8, 2024 via pnpm

plist 3.1.0

Apple's property list parser/builder for Node.js and browsers
Package summary
Share
0
issues
1
license
4
MIT
Package created
6 May 2011
Version published
6 Jul 2023
Maintainers
2
Total deps
4
Direct deps
3
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
@xmldom/xmldom@0.8.10
base64-js@1.5.1
plist@3.1.0
xmlbuilder@15.1.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of plist 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@xmldom/xmldom0.8.1050.64 kBMIT
prod
base64-js1.5.14.01 kBMIT
prod
xmlbuilder15.1.161.4 kBMIT
prod

Visualizations

Frequently Asked Questions

What does plist do?

The plist is a Node.js and browser package that functions as a parser and builder for Apple's property list (.plist) files. These files are frequently utilized in the development of OS X and iOS applications, as well as in the configuration of iTunes XML files. Essentially, plist files are a form of stored programming "object," bearing a significant similarity to JSON. A valid Plist file can be represented as a native JavaScript Object, and vice-versa, enabling easy manipulation and application in programming contexts.

How do you use plist?

The plist package is designed to be user-friendly and is easy to use in both Node.js and browser environments. In a Node.js setting, the package can be installed via npm using the command npm install --save plist. The plist module can then be invoked using require('plist') in your file. Following this, the parse() and build() functions can be utilized as required.

An example of usage in Node.js:

var plist = require('plist');

// now use the `parse()` and `build()` functions
var val = plist.parse('<plist><string>Hello World!</string></plist>');
console.log(val);  // "Hello World!"

In a browser environment, the dist/plist.js should be included in a <script> tag in the HTML file. The parse() and build() functions can subsequently be used in the script.

An example of usage in a browser:

<script src="plist.js"></script>
<script>
  // now use the `parse()` and `build()` functions
  var val = plist.parse('<plist><string>Hello World!</string></plist>');
  console.log(val);  // "Hello World!"
</script>

Where are the plist docs?

The documentation for the plist package is embedded within the information provided in the readme file on the package's GitHub page (https://github.com/TooTallNate/node-plist.git). Here, you'll find the details on how to install and use the package, examples of usage, and additional insights on how to perform specific tasks, such as parsing a plist from filename or string payload, and building plist DTD-compliant XML documents using JavaScript Objects.