| 1 |
{ |
| 2 |
"_id": "decamelize-keys", |
| 3 |
"_rev": "4-f40a49e0f5a0302a0bee068225f767ca", |
| 4 |
"name": "decamelize-keys", |
| 5 |
"description": "Convert object keys from camelCase to lowercase with a custom separator", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.1.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "decamelize-keys", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Convert object keys from camelCase to lowercase with a custom separator", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "git+https://github.com/dsblv/decamelize-keys.git" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "http://sindresorhus.com" |
| 23 |
}, |
| 24 |
"contributors": [ |
| 25 |
{ |
| 26 |
"name": "Dmirty Sobolev", |
| 27 |
"email": "[email protected]", |
| 28 |
"url": "https://github.com/dsblv" |
| 29 |
} |
| 30 |
], |
| 31 |
"engines": { |
| 32 |
"node": ">=0.10.0" |
| 33 |
}, |
| 34 |
"scripts": { |
| 35 |
"test": "xo && ava" |
| 36 |
}, |
| 37 |
"files": [ |
| 38 |
"index.js" |
| 39 |
], |
| 40 |
"keywords": [ |
| 41 |
"map", |
| 42 |
"obj", |
| 43 |
"object", |
| 44 |
"key", |
| 45 |
"keys", |
| 46 |
"value", |
| 47 |
"values", |
| 48 |
"val", |
| 49 |
"iterate", |
| 50 |
"decamelize", |
| 51 |
"decamelcase", |
| 52 |
"lowercase", |
| 53 |
"camelcase", |
| 54 |
"camel-case", |
| 55 |
"camel", |
| 56 |
"case", |
| 57 |
"dash", |
| 58 |
"hyphen", |
| 59 |
"dot", |
| 60 |
"underscore", |
| 61 |
"separator", |
| 62 |
"string", |
| 63 |
"text", |
| 64 |
"convert" |
| 65 |
], |
| 66 |
"devDependencies": { |
| 67 |
"ava": "^0.3.0", |
| 68 |
"xo": "^0.10.0" |
| 69 |
}, |
| 70 |
"dependencies": { |
| 71 |
"decamelize": "^1.1.0", |
| 72 |
"map-obj": "^1.0.0" |
| 73 |
}, |
| 74 |
"gitHead": "e63a6b0a1c0e6c6bf7e4d0b40fca0d324c7f029b", |
| 75 |
"bugs": { |
| 76 |
"url": "https://github.com/dsblv/decamelize-keys/issues" |
| 77 |
}, |
| 78 |
"homepage": "https://github.com/dsblv/decamelize-keys#readme", |
| 79 |
"_id": "[email protected]", |
| 80 |
"_shasum": "4483de342a4139c2072ed8967b0c06aba89cf6e6", |
| 81 |
"_from": ".", |
| 82 |
"_npmVersion": "3.3.4", |
| 83 |
"_nodeVersion": "4.2.1", |
| 84 |
"_npmUser": { |
| 85 |
"name": "dsblv", |
| 86 |
"email": "[email protected]" |
| 87 |
}, |
| 88 |
"dist": { |
| 89 |
"shasum": "4483de342a4139c2072ed8967b0c06aba89cf6e6", |
| 90 |
"tarball": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.0.0.tgz" |
| 91 |
}, |
| 92 |
"maintainers": [ |
| 93 |
{ |
| 94 |
"name": "dsblv", |
| 95 |
"email": "[email protected]" |
| 96 |
} |
| 97 |
], |
| 98 |
"directories": {} |
| 99 |
}, |
| 100 |
"1.1.0": { |
| 101 |
"name": "decamelize-keys", |
| 102 |
"version": "1.1.0", |
| 103 |
"description": "Convert object keys from camelCase to lowercase with a custom separator", |
| 104 |
"license": "MIT", |
| 105 |
"repository": { |
| 106 |
"type": "git", |
| 107 |
"url": "git+https://github.com/dsblv/decamelize-keys.git" |
| 108 |
}, |
| 109 |
"author": { |
| 110 |
"name": "Sindre Sorhus", |
| 111 |
"email": "[email protected]", |
| 112 |
"url": "http://sindresorhus.com" |
| 113 |
}, |
| 114 |
"contributors": [ |
| 115 |
{ |
| 116 |
"name": "Dmirty Sobolev", |
| 117 |
"email": "[email protected]", |
| 118 |
"url": "https://github.com/dsblv" |
| 119 |
} |
| 120 |
], |
| 121 |
"engines": { |
| 122 |
"node": ">=0.10.0" |
| 123 |
}, |
| 124 |
"scripts": { |
| 125 |
"test": "xo && ava" |
| 126 |
}, |
| 127 |
"files": [ |
| 128 |
"index.js" |
| 129 |
], |
| 130 |
"keywords": [ |
| 131 |
"map", |
| 132 |
"obj", |
| 133 |
"object", |
| 134 |
"key", |
| 135 |
"keys", |
| 136 |
"value", |
| 137 |
"values", |
| 138 |
"val", |
| 139 |
"iterate", |
| 140 |
"decamelize", |
| 141 |
"decamelcase", |
| 142 |
"lowercase", |
| 143 |
"camelcase", |
| 144 |
"camel-case", |
| 145 |
"camel", |
| 146 |
"case", |
| 147 |
"dash", |
| 148 |
"hyphen", |
| 149 |
"dot", |
| 150 |
"underscore", |
| 151 |
"separator", |
| 152 |
"string", |
| 153 |
"text", |
| 154 |
"convert" |
| 155 |
], |
| 156 |
"devDependencies": { |
| 157 |
"ava": "*", |
| 158 |
"xo": "*" |
| 159 |
}, |
| 160 |
"dependencies": { |
| 161 |
"decamelize": "^1.1.0", |
| 162 |
"map-obj": "^1.0.0" |
| 163 |
}, |
| 164 |
"gitHead": "755c3c32dcd726382b1fc837180f79f39506521a", |
| 165 |
"bugs": { |
| 166 |
"url": "https://github.com/dsblv/decamelize-keys/issues" |
| 167 |
}, |
| 168 |
"homepage": "https://github.com/dsblv/decamelize-keys#readme", |
| 169 |
"_id": "[email protected]", |
| 170 |
"_shasum": "d171a87933252807eb3cb61dc1c1445d078df2d9", |
| 171 |
"_from": ".", |
| 172 |
"_npmVersion": "3.7.3", |
| 173 |
"_nodeVersion": "5.8.0", |
| 174 |
"_npmUser": { |
| 175 |
"name": "dsblv", |
| 176 |
"email": "[email protected]" |
| 177 |
}, |
| 178 |
"dist": { |
| 179 |
"shasum": "d171a87933252807eb3cb61dc1c1445d078df2d9", |
| 180 |
"tarball": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz" |
| 181 |
}, |
| 182 |
"maintainers": [ |
| 183 |
{ |
| 184 |
"name": "dsblv", |
| 185 |
"email": "[email protected]" |
| 186 |
}, |
| 187 |
{ |
| 188 |
"name": "sindresorhus", |
| 189 |
"email": "[email protected]" |
| 190 |
} |
| 191 |
], |
| 192 |
"_npmOperationalInternal": { |
| 193 |
"host": "packages-13-west.internal.npmjs.com", |
| 194 |
"tmp": "tmp/decamelize-keys-1.1.0.tgz_1458124394099_0.15391261666081846" |
| 195 |
}, |
| 196 |
"directories": {} |
| 197 |
} |
| 198 |
}, |
| 199 |
"readme": "# decamelize-keys [](https://travis-ci.org/dsblv/decamelize-keys)\n\n> Convert object keys from camelCase to lowercase with a custom separator using [`decamelize`](https://github.com/sindresorhus/decamelize)\n\n*This project was forked from [`camelcase-keys`](https://github.com/sindresorhus/camelcase-keys) and converted to do the opposite*\n\n\n## Install\n\n```sh\n$ npm install --save decamelize-keys\n```\n\n\n## Usage\n\n```js\nconst decamelizeKeys = require('decamelize-keys');\n\ndecamelizeKeys({fooBar: true}, '-');\n//=> {'foo-bar': true}\n```\n\n\n## API\n\n### decamelizeKeys(input, [separator], [options])\n\n### input\n\nType: `object` \n*Required*\n\nObject to decamelize.\n\n### separator\n\nType: `string` \nDefault: `_`\n\nA string to insert between words.\n\n### options\n\nType: `object`\n\n#### separator\n\nType: `string` \nDefault: `_`\n\nAlternative way to specify [separator](#separator).\n\n#### exclude\n\nType: `array` \nDefault: `[]`\n\nExclude keys from being decamelized.\n\n\n## Related\n\nSee [`camelcase-keys`](https://github.com/sindresorhus/camelcase-keys) for the inverse.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com), [Dmirty Sobolev](https://github.com/dsblv)\n", |
| 200 |
"maintainers": [ |
| 201 |
{ |
| 202 |
"name": "dsblv", |
| 203 |
"email": "[email protected]" |
| 204 |
}, |
| 205 |
{ |
| 206 |
"name": "sindresorhus", |
| 207 |
"email": "[email protected]" |
| 208 |
} |
| 209 |
], |
| 210 |
"time": { |
| 211 |
"modified": "2017-02-03T18:05:17.853Z", |
| 212 |
"created": "2015-10-27T14:34:02.622Z", |
| 213 |
"1.0.0": "2015-10-27T14:34:02.622Z", |
| 214 |
"1.1.0": "2016-03-16T10:33:16.526Z" |
| 215 |
}, |
| 216 |
"homepage": "https://github.com/dsblv/decamelize-keys#readme", |
| 217 |
"keywords": [ |
| 218 |
"map", |
| 219 |
"obj", |
| 220 |
"object", |
| 221 |
"key", |
| 222 |
"keys", |
| 223 |
"value", |
| 224 |
"values", |
| 225 |
"val", |
| 226 |
"iterate", |
| 227 |
"decamelize", |
| 228 |
"decamelcase", |
| 229 |
"lowercase", |
| 230 |
"camelcase", |
| 231 |
"camel-case", |
| 232 |
"camel", |
| 233 |
"case", |
| 234 |
"dash", |
| 235 |
"hyphen", |
| 236 |
"dot", |
| 237 |
"underscore", |
| 238 |
"separator", |
| 239 |
"string", |
| 240 |
"text", |
| 241 |
"convert" |
| 242 |
], |
| 243 |
"repository": { |
| 244 |
"type": "git", |
| 245 |
"url": "git+https://github.com/dsblv/decamelize-keys.git" |
| 246 |
}, |
| 247 |
"contributors": [ |
| 248 |
{ |
| 249 |
"name": "Dmirty Sobolev", |
| 250 |
"email": "[email protected]", |
| 251 |
"url": "https://github.com/dsblv" |
| 252 |
} |
| 253 |
], |
| 254 |
"author": { |
| 255 |
"name": "Sindre Sorhus", |
| 256 |
"email": "[email protected]", |
| 257 |
"url": "http://sindresorhus.com" |
| 258 |
}, |
| 259 |
"bugs": { |
| 260 |
"url": "https://github.com/dsblv/decamelize-keys/issues" |
| 261 |
}, |
| 262 |
"license": "MIT", |
| 263 |
"readmeFilename": "readme.md", |
| 264 |
"users": { |
| 265 |
"mrzmmr": true |
| 266 |
}, |
| 267 |
"_attachments": {} |
| 268 |
} |