{
  "_from": "xdg-basedir@>=1.0.0 <2.0.0",
  "_id": "xdg-basedir@1.0.1",
  "_location": "/bower/configstore/xdg-basedir",
  "_phantomChildren": {},
  "_requiredBy": [
    "/bower/configstore"
  ],
  "_resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-1.0.1.tgz",
  "_shasum": "14ff8f63a4fdbcb05d5b6eea22b36f3033b9f04e",
  "_shrinkwrap": null,
  "author": {
    "email": "sindresorhus@gmail.com",
    "name": "Sindre Sorhus",
    "url": "http://sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/xdg-basedir/issues"
  },
  "dependencies": {
    "user-home": "^1.0.0"
  },
  "description": "Get XDG Base Directory paths",
  "devDependencies": {
    "ava": "0.0.4",
    "require-uncached": "^1.0.2"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "index.js"
  ],
  "homepage": "https://github.com/sindresorhus/xdg-basedir#readme",
  "keywords": [
    "base",
    "basedir",
    "cache",
    "config",
    "data",
    "dir",
    "directory",
    "path",
    "xdg"
  ],
  "license": "MIT",
  "name": "xdg-basedir",
  "optionalDependencies": {},
  "readme": "# xdg-basedir [![Build Status](https://travis-ci.org/sindresorhus/xdg-basedir.svg?branch=master)](https://travis-ci.org/sindresorhus/xdg-basedir)\n\n> Get [XDG Base Directory](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) paths\n\n\n## Install\n\n```sh\n$ npm install --save xdg-basedir\n```\n\n\n## Usage\n\n```js\nvar xdgBasedir = require('xdg-basedir');\n\nxdgBasedir.data;\n//=> /home/sindresorhus/.local/share\n\nxdgBasedir.config;\n//=> /home/sindresorhus/.config\n\nxdgBasedir.dataDirs\n//=> ['/home/sindresorhus/.local/share', '/usr/local/share/', '/usr/share/']\n```\n\n\n## API\n\nThe properties `.data`, `.config`, `.cache`, `.runtime` will return `null` in the uncommon case that both the XDG environment variable is not set and the users home directory can't be found. You need to handle this case. A common solution is to [fall back to a temp directory](https://github.com/yeoman/configstore/blob/b82690fc401318ad18dcd7d151a0003a4898a314/index.js#L15).\n\n### .data\n\nDirectory for user specific data files.\n\n### .config\n\nDirectory for user specific configuration files.\n\n### .cache\n\nDirectory for user specific non-essential data files.\n\n### .runtime\n\nDirectory for user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc).\n\n### .dataDirs\n\nPreference-ordered array of base directories to search for data files in addition to `.data`.\n\n### .configDirs\n\nPreference-ordered array of base directories to search for configuration files in addition to `.config`.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/xdg-basedir.git"
  },
  "scripts": {
    "test": "node test.js"
  },
  "version": "1.0.1"
}
