{"_id":"decamelize","_rev":"4062994","name":"decamelize","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","dist-tags":{"latest":"6.0.1"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2025-09-24T04:25:35.000Z","created":"2015-01-24T11:12:51.863Z","6.0.1":"2025-08-19T14:50:35.009Z","6.0.0":"2021-10-01T02:34:23.156Z","5.0.1":"2021-09-29T10:26:46.194Z","5.0.0":"2021-01-11T07:35:20.182Z","4.0.0":"2020-01-26T03:03:43.570Z","3.2.0":"2019-04-05T21:30:03.548Z","3.1.1":"2019-03-22T10:46:31.564Z","3.1.0":"2019-03-21T15:48:18.366Z","3.0.0":"2019-03-06T16:08:07.750Z","2.0.0":"2018-01-08T19:09:45.730Z","1.2.0":"2016-03-05T08:49:10.462Z","1.1.2":"2015-12-23T01:05:36.047Z","1.1.1":"2015-10-29T16:21:25.393Z","1.1.0":"2015-10-25T19:24:49.953Z","1.0.0":"2015-01-24T11:12:51.863Z"},"users":{"galenandrew":true,"xiechao06":true,"danielbayley":true,"mojaray2k":true,"bret":true,"mrzmmr":true,"arefm":true,"esenor":true,"xhou":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"versions":{"6.0.1":{"name":"decamelize","version":"6.0.1","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"ava && tsd","//test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","text","convert"],"devDependencies":{"ava":"^5.0.1","tsd":"^0.24.1","xo":"^0.52.4"},"_id":"decamelize@6.0.1","gitHead":"494888567380ecb41f64e8ce00fee44cb87b93d0","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"e858c37870153e1f733e92347ac3a3f009081ca7","size":2759,"noattachment":false,"key":"/decamelize/-/decamelize-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-6.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/decamelize_6.0.1_1755615034747_0.0376992603570836"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-19T14:50:35.009Z","publish_time":1755615035009,"_source_registry_name":"default","_cnpm_publish_time":1755615035009},"6.0.0":{"name":"decamelize","version":"6.0.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","text","convert"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","typescript":"^4.4.3","xo":"^0.44.0"},"gitHead":"55200914ae171eb1962a267c51878fef90005546","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@6.0.0","_nodeVersion":"16.9.1","_npmVersion":"7.20.3","dist":{"shasum":"8cad4d916fde5c41a264a43d0ecc56fe3d31749e","size":2752,"noattachment":false,"key":"/decamelize/-/decamelize-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_6.0.0_1633055663020_0.5731158560820486"},"_hasShrinkwrap":false,"publish_time":1633055663156,"_cnpm_publish_time":1633055663156},"5.0.1":{"name":"decamelize","version":"5.0.1","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","text","convert"],"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.24.0"},"gitHead":"c31c3d001bdb808d38825828de01c268a5173213","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@5.0.1","_nodeVersion":"16.9.1","_npmVersion":"7.20.3","dist":{"shasum":"db11a92e58c741ef339fb0a2868d8a06a9a7b1e9","size":2753,"noattachment":false,"key":"/decamelize/-/decamelize-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_5.0.1_1632911206074_0.26546285561763927"},"_hasShrinkwrap":false,"publish_time":1632911206194,"_cnpm_publish_time":1632911206194},"5.0.0":{"name":"decamelize","version":"5.0.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","text","convert"],"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.24.0"},"gitHead":"d44a15cace3c4d5b684e82159f398ee4cde77383","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@5.0.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"88358157b010ef133febfd27c18994bd80c6215b","size":2712,"noattachment":false,"key":"/decamelize/-/decamelize-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-5.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_5.0.0_1610350520046_0.5371615806940657"},"_hasShrinkwrap":false,"publish_time":1610350520182,"_cnpm_publish_time":1610350520182},"4.0.0":{"name":"decamelize","version":"4.0.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","text","convert"],"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.24.0"},"gitHead":"b445ed47a5548e2ba8fe41889807d17879faa7c5","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@4.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"aa472d7bf660eb15f3494efd531cab7f2a709837","size":2060,"noattachment":false,"key":"/decamelize/-/decamelize-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_4.0.0_1580007823424_0.08047740567087791"},"_hasShrinkwrap":false,"publish_time":1580007823570,"_cnpm_publish_time":1580007823570},"3.2.0":{"name":"decamelize","version":"3.2.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"dependencies":{"xregexp":"^4.2.4"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"8e6c4d82ebae2c60323b34c59e11f5d6ec35268e","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@3.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"84b8e8f4f8c579f938e35e2cc7024907e0090851","size":2070,"noattachment":false,"key":"/decamelize/-/decamelize-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-3.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_3.2.0_1554499803380_0.8141879282948965"},"_hasShrinkwrap":false,"publish_time":1554499803548,"_cnpm_publish_time":1554499803548},"3.1.1":{"name":"decamelize","version":"3.1.1","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"dependencies":{"xregexp":"^4.2.4"},"devDependencies":{"ava":"^1.2.1","tsd":"^0.7.0","xo":"^0.24.0"},"gitHead":"d646fe28c78c1c4962b2250e28ba8a373c7e7c68","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@3.1.1","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ebf473c6f8607bd70fd9ed6d892da27c5eb8539e","size":1988,"noattachment":false,"key":"/decamelize/-/decamelize-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-3.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_3.1.1_1553251591355_0.20082242635326608"},"_hasShrinkwrap":false,"publish_time":1553251591564,"_cnpm_publish_time":1553251591564},"3.1.0":{"name":"decamelize","version":"3.1.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"dependencies":{"xregexp":"^4.2.4"},"devDependencies":{"ava":"^1.2.1","tsd":"^0.7.0","xo":"^0.24.0"},"gitHead":"18fe3cf56bcac7babc0cb0fa0486c4131057e262","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@3.1.0","_nodeVersion":"11.11.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"81cd3f2e9911b8874e290d249da2c366453641d4","size":1983,"noattachment":false,"key":"/decamelize/-/decamelize-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_3.1.0_1553183298266_0.32791109364419646"},"_hasShrinkwrap":false,"publish_time":1553183298366,"_cnpm_publish_time":1553183298366},"3.0.0":{"name":"decamelize","version":"3.0.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"dependencies":{"xregexp":"^4.2.4"},"devDependencies":{"ava":"^1.2.1","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"3e9b40a699ce0beb2a183bf1a98fd866595a52ab","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@3.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5efdacb0ff1b6e4031ccd0da71257340c1b846b7","size":1960,"noattachment":false,"key":"/decamelize/-/decamelize-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize_3.0.0_1551888487626_0.8557039066298511"},"_hasShrinkwrap":false,"publish_time":1551888487750,"_cnpm_publish_time":1551888487750},"2.0.0":{"name":"decamelize","version":"2.0.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"dependencies":{"xregexp":"4.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"7e6b97deee705b5658b4efa576b0df84608f1000","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"656d7bbc8094c4c788ea53c5840908c9c7d063c7","size":1800,"noattachment":false,"key":"/decamelize/-/decamelize-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decamelize-2.0.0.tgz_1515438584763_0.33889249875210226"},"directories":{},"publish_time":1515438585730,"_hasShrinkwrap":false,"_cnpm_publish_time":1515438585730},"1.2.0":{"name":"decamelize","version":"1.2.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decamelize.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"95980ab6fb44c40eaca7792bdf93aff7c210c805","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize#readme","_id":"decamelize@1.2.0","_shasum":"f6534d15148269b20352e7bee26f501f9a191290","_from":".","_npmVersion":"3.8.0","_nodeVersion":"4.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f6534d15148269b20352e7bee26f501f9a191290","size":1691,"noattachment":false,"key":"/decamelize/-/decamelize-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-1.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/decamelize-1.2.0.tgz_1457167749082_0.9810893186368048"},"directories":{},"publish_time":1457167750462,"_cnpm_publish_time":1457167750462,"_hasShrinkwrap":false},"1.1.2":{"name":"decamelize","version":"1.1.2","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/decamelize"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"82c87d3382126375ab0c3b7f5438bfd5eccb18c3","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize","_id":"decamelize@1.1.2","_shasum":"dcc93727be209632e98b02718ef4cb79602322f2","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dcc93727be209632e98b02718ef4cb79602322f2","size":1773,"noattachment":false,"key":"/decamelize/-/decamelize-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-1.1.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1450832736047,"_cnpm_publish_time":1450832736047,"_hasShrinkwrap":false},"1.1.1":{"name":"decamelize","version":"1.1.1","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/decamelize"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"devDependencies":{"ava":"0.0.4"},"gitHead":"5d3135f6bb949215500b63bbc5e344566bd269f1","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize","_id":"decamelize@1.1.1","_shasum":"8871479a6c0487f5653d48a992f1d0381ca6f031","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8871479a6c0487f5653d48a992f1d0381ca6f031","size":1697,"noattachment":false,"key":"/decamelize/-/decamelize-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-1.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1446135685393,"_cnpm_publish_time":1446135685393,"_hasShrinkwrap":false},"1.1.0":{"name":"decamelize","version":"1.1.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/decamelize"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"devDependencies":{"ava":"0.0.4"},"gitHead":"6591b158d318dcf013126acab6c21c50a42376c0","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize","_id":"decamelize@1.1.0","_shasum":"fe90c002a0acec1435120ce83a6945641018d0c8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"fe90c002a0acec1435120ce83a6945641018d0c8","size":1681,"noattachment":false,"key":"/decamelize/-/decamelize-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1445801089953,"_cnpm_publish_time":1445801089953,"_hasShrinkwrap":false},"1.0.0":{"name":"decamelize","version":"1.0.0","description":"Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/decamelize"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["decamelize","decamelcase","camelcase","lowercase","case","dash","hyphen","string","str","text","convert"],"devDependencies":{"ava":"0.0.4"},"gitHead":"ab6c92c9a5fc00c270d8a3763e73c52972a7457e","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"homepage":"https://github.com/sindresorhus/decamelize","_id":"decamelize@1.0.0","_shasum":"5287122f71691d4505b18ff2258dc400a5b23847","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"5287122f71691d4505b18ff2258dc400a5b23847","size":974,"noattachment":false,"key":"/decamelize/-/decamelize-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decamelize/download/decamelize-1.0.0.tgz"},"directories":{},"publish_time":1422097971863,"_cnpm_publish_time":1422097971863,"_hasShrinkwrap":false}},"readme":"# decamelize\n\n> Convert a camelized string into a lowercased one with a custom separator\\\n> Example: `unicornRainbow` → `unicorn_rainbow`\n\nIf you use this on untrusted user input, don't forget to limit the length to something reasonable.\n\n## Install\n\n```sh\nnpm install decamelize\n```\n\n*If you need Safari support, [stay on](https://github.com/sindresorhus/decamelize/issues/24) [version 3](https://github.com/sindresorhus/decamelize/issues/36) [until they implement](https://caniuse.com/js-regexp-lookbehind) regex lookbehinds.*\n\n## Usage\n\n```js\nimport decamelize from 'decamelize';\n\ndecamelize('unicornRainbow');\n//=> 'unicorn_rainbow'\n\ndecamelize('unicornRainbow', {separator: '-'});\n//=> 'unicorn-rainbow'\n\ndecamelize('testGUILabel', {preserveConsecutiveUppercase: true});\n//=> 'test_GUI_label'\n\ndecamelize('testGUILabel', {preserveConsecutiveUppercase: false});\n//=> 'test_gui_label'\n```\n\n## API\n\n### decamelize(input, options?)\n\n#### input\n\nType: `string`\n\n#### options\n\nType: `object`\n\n##### separator\n\nType: `string`\\\nDefault: `'_'`\n\nThe character or string used to separate words.\n\n```js\nimport decamelize from 'decamelize';\n\ndecamelize('unicornRainbow');\n//=> 'unicorn_rainbow'\n\ndecamelize('unicornRainbow', {separator: '-'});\n//=> 'unicorn-rainbow'\n```\n\n##### preserveConsecutiveUppercase\n\nType: `boolean`\\\nDefault: `false`\n\nPreserve sequences of uppercase characters.\n\n```js\nimport decamelize from 'decamelize';\n\ndecamelize('testGUILabel');\n//=> 'test_gui_label'\n\ndecamelize('testGUILabel', {preserveConsecutiveUppercase: true});\n//=> 'test_GUI_label'\n```\n\n## Related\n\n- [camelcase](https://github.com/sindresorhus/camelcase) - The inverse of this package\n- [decamelize-keys](https://github.com/sindresorhus/decamelize-keys) - Convert object keys from camel case\n","_attachments":{},"homepage":"https://github.com/sindresorhus/decamelize#readme","bugs":{"url":"https://github.com/sindresorhus/decamelize/issues"},"license":"MIT"}