{
  "_args": [
    [
      "defined@https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
      "/Users/nw/flint/packages/flint"
    ]
  ],
  "_from": "defined@>=1.0.0 <2.0.0",
  "_id": "defined@1.0.0",
  "_inCache": true,
  "_location": "/defined",
  "_phantomChildren": {},
  "_requested": {
    "name": "defined",
    "raw": "defined@https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
    "rawSpec": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/cssnano"
  ],
  "_resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
  "_shasum": "c98d9bcef75674188e110969151199e39b1fa693",
  "_shrinkwrap": null,
  "_spec": "defined@https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
  "_where": "/Users/nw/flint/packages/flint",
  "author": {
    "email": "mail@substack.net",
    "name": "James Halliday",
    "url": "http://substack.net"
  },
  "bugs": {
    "url": "https://github.com/substack/defined/issues"
  },
  "dependencies": {},
  "description": "return the first argument that is `!== undefined`",
  "devDependencies": {
    "tape": "~3.5.0"
  },
  "directories": {
    "example": "example",
    "test": "test"
  },
  "homepage": "https://github.com/substack/defined",
  "keywords": [
    "//",
    "defined-or",
    "or",
    "short-circuit",
    "undefined",
    "||"
  ],
  "license": "MIT",
  "main": "index.js",
  "name": "defined",
  "optionalDependencies": {},
  "readme": "# defined\n\nreturn the first argument that is `!== undefined`\n\n[![browser support](http://ci.testling.com/substack/defined.png)](http://ci.testling.com/substack/defined)\n\n[![build status](https://secure.travis-ci.org/substack/defined.png)](http://travis-ci.org/substack/defined)\n\nMost of the time when I chain together `||`s, I actually just want the first\nitem that is not `undefined`, not the first non-falsy item.\n\nThis module is like the defined-or (`//`) operator in perl 5.10+.\n\n# example\n\n``` js\nvar defined = require('defined');\nvar opts = { y : false, w : 4 };\nvar x = defined(opts.x, opts.y, opts.w, 100);\nconsole.log(x);\n```\n\n```\n$ node example/defined.js\nfalse\n```\n\nThe return value is `false` because `false` is the first item that is\n`!== undefined`.\n\n# methods\n\n``` js\nvar defined = require('defined')\n```\n\n## var x = defined(a, b, c...)\n\nReturn the first item in the argument list `a, b, c...` that is `!== undefined`.\n\nIf all the items are `=== undefined`, return undefined.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install defined\n```\n\n# license\n\nMIT\n",
  "readmeFilename": "readme.markdown",
  "repository": {
    "type": "git",
    "url": "git://github.com/substack/defined.git"
  },
  "scripts": {
    "test": "tape test/*.js"
  },
  "testling": {
    "browsers": {
      "chrome": [
        10,
        22
      ],
      "ff": [
        10,
        15,
        3.5
      ],
      "ie": [
        6,
        7,
        8,
        9
      ],
      "opera": [
        12
      ],
      "safari": [
        5.1
      ]
    },
    "files": "test/*.js"
  },
  "version": "1.0.0"
}
