Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including plist-to-json with all npm packages installed. Try it out:

plist-to-json lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("plist-to-json/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

plist-to-json v1.0.2

A tiny command-line tool to convert (xml) .plist files to JSON format

plist-to-json

We all made this mistake at least once: deciding that plist is an ideal format for some piece of data. Once you realize your wrongdoings, this tool will help you liberate your data.

Installation

sudo npm install -g plist-to-json

Usage

As per --help:

Usage: plist-to-json [options] source.plist

Arguments:
  source.plist          Source file to output as JSON

Options:
  -i, --indent SIZE     Indentation size for pretty-printing the output file (defaults to 2)
  -h, --help            Display this usage information

Outputs the result on stdout.

Note: only works with XML plists. If you have a binary (or, heaven forbid, an old-school TextMatish one), run it through the following built-in command first (beware, this one modifies the plist in-place):

plutil -convert xml1 exbinary.plist
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free