{
  "_from": "caseless@>=0.9.0 <0.10.0",
  "_id": "caseless@0.9.0",
  "_location": "/bower/request/caseless",
  "_phantomChildren": {},
  "_requiredBy": [
    "/bower/request"
  ],
  "_resolved": "https://registry.npmjs.org/caseless/-/caseless-0.9.0.tgz",
  "_shasum": "b7b65ce6bf1413886539cfd533f0b30effa9cf88",
  "_shrinkwrap": null,
  "author": {
    "email": "mikeal.rogers@gmail.com",
    "name": "Mikeal Rogers"
  },
  "bugs": {
    "url": "https://github.com/mikeal/caseless/issues"
  },
  "dependencies": {},
  "description": "Caseless object set/get/has, very useful when working with HTTP headers.",
  "devDependencies": {
    "tape": "^2.10.2"
  },
  "homepage": "https://github.com/mikeal/caseless#readme",
  "keywords": [
    "caseless",
    "headers",
    "http"
  ],
  "license": "BSD",
  "main": "index.js",
  "name": "caseless",
  "optionalDependencies": {},
  "readme": "## Caseless -- wrap an object to set and get property with caseless semantics but also preserve caseing.\n\nThis library is incredibly useful when working with HTTP headers. It allows you to get/set/check for headers in a caseless manner while also preserving the caseing of headers the first time they are set.\n\n## Usage\n\n```javascript\nvar headers = {}\n  , c = caseless(headers)\n  ;\nc.set('a-Header', 'asdf')\nc.get('a-header') === 'asdf'\n```\n\n## has(key)\n\nHas takes a name and if it finds a matching header will return that header name with the preserved caseing it was set with.\n\n```javascript\nc.has('a-header') === 'a-Header'\n```\n\n## set(key, value[, clobber=true])\n\nSet is fairly straight forward except that if the header exists and clobber is disabled it will add `','+value` to the existing header.\n\n```javascript\nc.set('a-Header', 'fdas')\nc.set('a-HEADER', 'more', false)\nc.get('a-header') === 'fdsa,more'\n```\n\n## swap(key)\n\nSwaps the casing of a header with the new one that is passed in.\n\n```javascript\nvar headers = {}\n  , c = caseless(headers)\n  ;\nc.set('a-Header', 'fdas')\nc.swap('a-HEADER')\nc.has('a-header') === 'a-HEADER'\nheaders === {'a-HEADER': 'fdas'}\n```\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mikeal/caseless.git"
  },
  "scripts": {
    "test": "node test.js"
  },
  "test": "node test.js",
  "version": "0.9.0"
}
