GT2/GT2-iOS/node_modules/caseless/package.json

102 lines
3.7 KiB
JSON

{
"_args": [
[
{
"raw": "caseless@~0.12.0",
"scope": null,
"escapedName": "caseless",
"name": "caseless",
"rawSpec": "~0.12.0",
"spec": ">=0.12.0 <0.13.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request"
]
],
"_from": "caseless@>=0.12.0 <0.13.0",
"_id": "caseless@0.12.0",
"_inCache": true,
"_location": "/caseless",
"_nodeVersion": "6.9.2",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/caseless-0.12.0.tgz_1485466648253_0.3714302028529346"
},
"_npmUser": {
"name": "mikeal",
"email": "mikeal.rogers@gmail.com"
},
"_npmVersion": "3.10.9",
"_phantomChildren": {},
"_requested": {
"raw": "caseless@~0.12.0",
"scope": null,
"escapedName": "caseless",
"name": "caseless",
"rawSpec": "~0.12.0",
"spec": ">=0.12.0 <0.13.0",
"type": "range"
},
"_requiredBy": [
"/request"
],
"_resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
"_shasum": "1b681c21ff84033c826543090689420d187151dc",
"_shrinkwrap": null,
"_spec": "caseless@~0.12.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request",
"author": {
"name": "Mikeal Rogers",
"email": "mikeal.rogers@gmail.com"
},
"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"
},
"directories": {},
"dist": {
"shasum": "1b681c21ff84033c826543090689420d187151dc",
"tarball": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz"
},
"gitHead": "af91df7878a8b53cf3dc2e9a086dc57ba8301649",
"homepage": "https://github.com/mikeal/caseless#readme",
"keywords": [
"headers",
"http",
"caseless"
],
"license": "Apache-2.0",
"main": "index.js",
"maintainers": [
{
"name": "mikeal",
"email": "mikeal.rogers@gmail.com"
},
{
"name": "nylen",
"email": "jnylen@gmail.com"
},
{
"name": "simov",
"email": "simeonvelichkov@gmail.com"
}
],
"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.12.0"
}