"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/plist/package.json" (11 Apr 2017, 5225 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "_args": [
    3     [
    4       {
    5         "raw": "plist@git+https://github.com/nathansobo/node-plist.git",
    6         "scope": null,
    7         "escapedName": "plist",
    8         "name": "plist",
    9         "rawSpec": "git+https://github.com/nathansobo/node-plist.git",
   10         "spec": "git+https://github.com/nathansobo/node-plist.git",
   11         "type": "hosted",
   12         "hosted": {
   13           "type": "github",
   14           "ssh": "git@github.com:nathansobo/node-plist.git",
   15           "sshUrl": "git+ssh://git@github.com/nathansobo/node-plist.git",
   16           "httpsUrl": "git+https://github.com/nathansobo/node-plist.git",
   17           "gitUrl": "git://github.com/nathansobo/node-plist.git",
   18           "shortcut": "github:nathansobo/node-plist",
   19           "directUrl": "https://raw.githubusercontent.com/nathansobo/node-plist/master/package.json"
   20         }
   21       },
   22       "C:\\projects\\atom\\apm\\node_modules\\atom-package-manager"
   23     ]
   24   ],
   25   "_from": "git+https://github.com/nathansobo/node-plist.git",
   26   "_id": "plist@0.4.3",
   27   "_inCache": true,
   28   "_installable": true,
   29   "_location": "/atom-package-manager/plist",
   30   "_phantomChildren": {},
   31   "_requested": {
   32     "raw": "plist@git+https://github.com/nathansobo/node-plist.git",
   33     "scope": null,
   34     "escapedName": "plist",
   35     "name": "plist",
   36     "rawSpec": "git+https://github.com/nathansobo/node-plist.git",
   37     "spec": "git+https://github.com/nathansobo/node-plist.git",
   38     "type": "hosted",
   39     "hosted": {
   40       "type": "github",
   41       "ssh": "git@github.com:nathansobo/node-plist.git",
   42       "sshUrl": "git+ssh://git@github.com/nathansobo/node-plist.git",
   43       "httpsUrl": "git+https://github.com/nathansobo/node-plist.git",
   44       "gitUrl": "git://github.com/nathansobo/node-plist.git",
   45       "shortcut": "github:nathansobo/node-plist",
   46       "directUrl": "https://raw.githubusercontent.com/nathansobo/node-plist/master/package.json"
   47     }
   48   },
   49   "_requiredBy": [
   50     "/atom-package-manager"
   51   ],
   52   "_resolved": "git+https://github.com/nathansobo/node-plist.git#bd3a93387f1d4b2cff819b200870d35465796e77",
   53   "_shasum": "8ed1f98b67177a174c6c23bf2ffe07226d7f0868",
   54   "_shrinkwrap": null,
   55   "_spec": "plist@git+https://github.com/nathansobo/node-plist.git",
   56   "_where": "C:\\projects\\atom\\apm\\node_modules\\atom-package-manager",
   57   "author": {
   58     "name": "Nathan Rajlich",
   59     "email": "nathan@tootallnate.net"
   60   },
   61   "bugs": {
   62     "url": "https://github.com/TooTallNate/node-plist/issues"
   63   },
   64   "contributors": [
   65     {
   66       "name": "Hans Huebner",
   67       "email": "hans.huebner@gmail.com"
   68     },
   69     {
   70       "name": "Pierre Metrailler"
   71     },
   72     {
   73       "name": "Mike Reinstein",
   74       "email": "reinstein.mike@gmail.com"
   75     },
   76     {
   77       "name": "Vladimir Tsvang"
   78     },
   79     {
   80       "name": "Mathieu D'Amours"
   81     }
   82   ],
   83   "dependencies": {
   84     "xmlbuilder": "0.4.x",
   85     "xmldom": "0.1.x"
   86   },
   87   "description": "Mac OS X Plist parser/builder for NodeJS. Convert a Plist file or string into a native JS object and native JS object into a Plist file.",
   88   "devDependencies": {
   89     "nodeunit": "0.7.x"
   90   },
   91   "engines": {
   92     "node": ">= 0.1.100"
   93   },
   94   "gitHead": "bd3a93387f1d4b2cff819b200870d35465796e77",
   95   "homepage": "https://github.com/TooTallNate/node-plist#readme",
   96   "keywords": [
   97     "apple",
   98     "mac",
   99     "plist",
  100     "parser",
  101     "xml"
  102   ],
  103   "main": "./lib/plist",
  104   "name": "plist",
  105   "optionalDependencies": {},
  106   "readme": "# node-plist\n\nProvides facilities for reading and writing Mac OS X Plist (property list) files. These are often used in programming OS X and iOS applications, as well as the iTunes\nconfiguration XML file.\n\nPlist files represent stored programming \"object\"s. They are very similar\nto JSON. A valid Plist file is representable as a native JavaScript Object and vice-versa.\n\n## Tests\n`npm test`\n\n## Usage\nParsing a plist from filename\n``` javascript\nvar plist = require('plist');\n\nvar obj = plist.parseFileSync('myPlist.plist');\nconsole.log(JSON.stringify(obj));\n```\n\nParsing a plist from string payload\n``` javascript\nvar plist = require('plist');\n\nvar obj = plist.parseStringSync('<plist><string>Hello World!</string></plist>');\nconsole.log(obj);  // Hello World!\n```\n\nGiven an existing JavaScript Object, you can turn it into an XML document that complies with the plist DTD\n\n``` javascript\nvar plist = require('plist');\n\nconsole.log(plist.build({'foo' : 'bar'}).toString());\n```\n\n\n\n### Deprecated methods\nThese functions work, but may be removed in a future release. version 0.4.x added Sync versions of these functions.\n\nParsing a plist from filename\n``` javascript\nvar plist = require('plist');\n\nplist.parseFile('myPlist.plist', function(err, obj) {\n  if (err) throw err;\n\n  console.log(JSON.stringify(obj));\n});\n```\n\nParsing a plist from string payload\n``` javascript\nvar plist = require('plist');\n\nplist.parseString('<plist><string>Hello World!</string></plist>', function(err, obj) {\n  if (err) throw err;\n\n  console.log(obj[0]);  // Hello World!\n});\n```\n",
  107   "readmeFilename": "README.md",
  108   "repository": {
  109     "type": "git",
  110     "url": "git://github.com/TooTallNate/node-plist.git"
  111   },
  112   "scripts": {
  113     "test": "nodeunit tests"
  114   },
  115   "version": "0.4.3"
  116 }