{
  "_args": [
    [
      {
        "raw": "editorconfig@^0.13.2",
        "scope": null,
        "escapedName": "editorconfig",
        "name": "editorconfig",
        "rawSpec": "^0.13.2",
        "spec": ">=0.13.2 <0.14.0",
        "type": "range"
      },
      "/Users/alicia/Documents/develop/github/umock/page/node_modules/js-beautify"
    ]
  ],
  "_from": "editorconfig@>=0.13.2 <0.14.0",
  "_id": "editorconfig@0.13.2",
  "_inCache": true,
  "_location": "/editorconfig",
  "_nodeVersion": "5.0.0",
  "_npmUser": {
    "name": "jedmao",
    "email": "jedmao@outlook.com"
  },
  "_npmVersion": "3.3.6",
  "_phantomChildren": {},
  "_requested": {
    "raw": "editorconfig@^0.13.2",
    "scope": null,
    "escapedName": "editorconfig",
    "name": "editorconfig",
    "rawSpec": "^0.13.2",
    "spec": ">=0.13.2 <0.14.0",
    "type": "range"
  },
  "_requiredBy": [
    "/js-beautify"
  ],
  "_resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.13.2.tgz",
  "_shasum": "8e57926d9ee69ab6cb999f027c2171467acceb35",
  "_shrinkwrap": null,
  "_spec": "editorconfig@^0.13.2",
  "_where": "/Users/alicia/Documents/develop/github/umock/page/node_modules/js-beautify",
  "author": {
    "name": "EditorConfig Team"
  },
  "bin": {
    "editorconfig": "bin/editorconfig"
  },
  "bugs": {
    "url": "https://github.com/editorconfig/editorconfig-core-js/issues"
  },
  "contributors": [
    {
      "name": "Hong Xu",
      "url": "topbug.net"
    },
    {
      "name": "Jed Mao",
      "url": "https://github.com/jedmao/"
    },
    {
      "name": "Trey Hunner",
      "url": "http://treyhunner.com"
    }
  ],
  "dependencies": {
    "bluebird": "^3.0.5",
    "commander": "^2.9.0",
    "lru-cache": "^3.2.0",
    "sigmund": "^1.0.1"
  },
  "description": "EditorConfig File Locator and Interpreter for Node.js",
  "devDependencies": {
    "eclint": "^1.1.5",
    "mocha": "^2.3.4",
    "should": "^7.1.1"
  },
  "directories": {
    "bin": "./bin",
    "lib": "./lib"
  },
  "dist": {
    "shasum": "8e57926d9ee69ab6cb999f027c2171467acceb35",
    "tarball": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.13.2.tgz"
  },
  "homepage": "https://github.com/editorconfig/editorconfig-core-js#readme",
  "keywords": [
    "editorconfig",
    "core"
  ],
  "license": {
    "type": "MIT",
    "url": "http://editorconfig.mit-license.org/2012"
  },
  "main": "editorconfig.js",
  "maintainers": [
    {
      "name": "trey",
      "email": "trey@treyhunner.com"
    },
    {
      "name": "jedmao",
      "email": "jed.hunsaker+npm@gmail.com"
    }
  ],
  "name": "editorconfig",
  "optionalDependencies": {},
  "readme": "# EditorConfig JavaScript Core\n\n[![Build Status](https://travis-ci.org/editorconfig/editorconfig-core-js.svg?branch=master)](https://travis-ci.org/editorconfig/editorconfig-core-js)\n\nThe EditorConfig JavaScript core will provide the same functionality as the\n[EditorConfig C Core][] and [EditorConfig Python Core][].\n\n\n## Installation\n\nYou need [node][] to use this package.\n\nTo install this package (system-wide):\n\n```bash\n$ npm install editorconfig\n```\n\nTo install the package system-wide:\n\n```bash\n$ npm install -g editorconfig\n```\n\n## Usage\n\n### in Node.js:\n\n#### parse(filePath[, options])\n\noptions is an object with the following defaults:\n\n```js\n{\n  config: '.editorconfig',\n  version: pkg.version,\n  root: '/'\n};\n```\n\nSearch for `.editorconfig` starting from the current directory to the root directory.\n\nExample:\n\n```js\nvar editorconfig = require('editorconfig');\nvar path = require('path');\nvar filePath = path.join(__dirname, '/sample.js');\nvar promise = editorconfig.parse(filePath);\npromise.then(function onFulfilled(result) {\n  console.log(result);\n});\n\n/*\n  {\n    indent_style: 'space',\n    indent_size: 2,\n    end_of_line: 'lf',\n    charset: 'utf-8',\n    trim_trailing_whitespace: true,\n    insert_final_newline: true,\n    tab_width: 2\n  };\n*/\n```\n\n#### parseSync(filePath[, options])\n\nSynchronous version of `editorconfig.parse()`.\n\n#### parseFromFiles(filePath, configs[, options])\n\noptions is an object with the following defaults:\n\n```js\n{\n  config: '.editorconfig',\n  version: pkg.version,\n  root: '/'\n};\n```\n\nSpecify the `.editorconfig`.\n\nExample:\n\n```js\nvar editorconfig = require('editorconfig');\nvar fs = require('fs');\nvar path = require('path');\nvar configPath = path.join(__dirname, '/.editorconfig');\nvar configs = [\n  {\n    name: configPath,\n    contents: fs.readFileSync(configPath, 'utf8')\n  }\n];\nvar filePath = path.join(__dirname, '/sample.js');\nvar promise = editorconfig.parseFromFiles(filePath, configs);\npromise.then(function onFulfilled(result) {\n  console.log(result)\n});\n\n/*\n  {\n    indent_style: 'space',\n    indent_size: 2,\n    end_of_line: 'lf',\n    charset: 'utf-8',\n    trim_trailing_whitespace: true,\n    insert_final_newline: true,\n    tab_width: 2\n  };\n*/\n```\n\n#### parseFromFilesSync(filePath, configs[, options])\n\nSynchronous version of `editorconfig.parseFromFiles()`.\n\n### in Command Line\n\n```bash\n$ ./bin/editorconfig\n\n    Usage: editorconfig [OPTIONS] FILEPATH1 [FILEPATH2 FILEPATH3 ...]\n\n    EditorConfig Node.js Core Version 0.11.4-development\n\n    FILEPATH can be a hyphen (-) if you want path(s) to be read from stdin.\n\n    Options:\n\n        -h, --help     output usage information\n        -V, --version  output the version number\n        -f <path>      Specify conf filename other than \".editorconfig\"\n        -b <version>   Specify version (used by devs to test compatibility)\n```\n\nExample:\n\n```bash\n$ ./bin/editorconfig /home/zoidberg/humans/anatomy.md\ncharset=utf-8\ninsert_final_newline=true\nend_of_line=lf\ntab_width=8\ntrim_trailing_whitespace=sometimes\n```\n\n## Development\n\nTo install dependencies for this package run this in the package directory:\n\n```bash\n$ npm install\n```\n\nNext, run:\n\n```bash\n$ npm link\n```\n\nThe global editorconfig will now point to the files in your development\nrepository instead of a globally-installed version from npm. You can now use\neditorconfig directly to test your changes.\n\nIf you ever update from the central repository and there are errors, it might\nbe because you are missing some dependencies. If that happens, just run npm\nlink again to get the latest dependencies.\n\nTo test the command line interface:\n\n```bash\n$ editorconfig <filepath>\n```\n\n# Testing\n\n[CMake][] must be installed to run the tests.\n\nTo run the tests:\n\n```bash\n$ npm test\n```\n\nTo run the tests with increased verbosity (for debugging test failures):\n\n```bash\n$ npm run-script test-verbose\n```\n\n[EditorConfig C Core]: https://github.com/editorconfig/editorconfig-core\n[EditorConfig Python Core]: https://github.com/editorconfig/editorconfig-core-py\n[node]: http://nodejs.org/\n[cmake]: http://www.cmake.org\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/editorconfig/editorconfig-core-js.git"
  },
  "scripts": {
    "lint": "eclint check --indent_size ignore editorconfig.js README.md \"bin/**\" \"lib/**\"",
    "pretest": "cmake .",
    "test": "npm run lint && ctest .",
    "test-verbose": "npm run lint && ctest -VV --output-on-failure ."
  },
  "version": "0.13.2"
}
