{"id":21076563,"url":"https://github.com/monojack/ccqp","last_synced_at":"2025-12-29T15:15:41.342Z","repository":{"id":57195364,"uuid":"165039545","full_name":"monojack/ccqp","owner":"monojack","description":"camel case query params express middleware","archived":false,"fork":false,"pushed_at":"2019-01-10T10:54:39.000Z","size":82,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T17:13:16.540Z","etag":null,"topics":["camelcase","express-middleware","params","query"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monojack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-10T10:26:37.000Z","updated_at":"2023-05-11T18:45:27.000Z","dependencies_parsed_at":"2022-09-17T03:11:34.414Z","dependency_job_id":null,"html_url":"https://github.com/monojack/ccqp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monojack%2Fccqp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monojack%2Fccqp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monojack%2Fccqp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monojack%2Fccqp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monojack","download_url":"https://codeload.github.com/monojack/ccqp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243521253,"owners_count":20304186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camelcase","express-middleware","params","query"],"created_at":"2024-11-19T19:29:08.959Z","updated_at":"2025-12-29T15:15:36.321Z","avatar_url":"https://github.com/monojack.png","language":"JavaScript","readme":"# **ccqp**\n\n[![Build Status](https://travis-ci.org/monojack/ccqp.svg?branch=master)](https://travis-ci.org/monojack/ccqp)\n[![npm version](https://img.shields.io/npm/v/ccqp.svg)](https://www.npmjs.com/package/ccqp)\n[![npm downloads](https://img.shields.io/npm/dm/ccqp.svg)](https://www.npmjs.com/package/ccqp)\n[![minified size](https://badgen.net/bundlephobia/min/ccqp)](https://bundlephobia.com/result?p=ccqp@latest)\n\n[express](https://expressjs.com/) middleware to recursively transform query params keys to camel-case.\n\n**TL;DR**\n\n```sh\nnpm install ccqp\n```\n\n```js\nconst express = require('express')\nconst ccqp = require('ccqp')\n\nconst app = express()\napp.use(ccqp)\n\n// ...\n```\n\n\u0026nbsp;\n\nA request with the following querystring:\n\n```js\nconst qs = `\n  ?first_name=John\n  \u0026LastName=Doe\n  \u0026date-of_-birth=01.01.1985\n  \u0026hair.color=brown\n  \u0026contact[email]=john.doe@example.com\n  \u0026contact[phone_number]=754-3010\n`\n```\n\nwill have the following `req.query`:\n\n```js\n{\n  firstName: 'John',\n  lastName: 'Doe',\n  dateOfBirth: '01.01.1985',\n  hairColor: 'brown',\n  contact: {\n    email: 'john.doe@example.com',\n    phoneNumber: '754-3010',\n  },\n }\n```\n\n\u0026nbsp;\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonojack%2Fccqp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonojack%2Fccqp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonojack%2Fccqp/lists"}