title: Snake_case or camelCase in node.js
body: <p>So I have <strong>node.js</strong> application that exposes some <strong>API</strong> to clients and connects to some <strong>SQL</strong> database.
  First let introduce some premises:</p>
  <ol>
  <li>Clients must use API with <strong>snake_case</strong> (keys in JSON object sent in request body are in snake_case).</li>
  <li>Database column names are also <strong>snake_case</strong>.</li>
  </ol>
  <p>Problem is because <strong>javascript</strong> standard/practice is using <strong>camelCase</strong> which I would like to keep.</p>
  <p>So as I see there are 3 solutions:</p>
  <ol>
  <li>Transform data from snake(API) to camel (application) to snake (database) on the fly as needed.
  This would introduced some new layers to system and all of it would be little complicated than other solutions.</li>
  <li>Use snake_case in node.js app.
  But no matter if I use snake all other dependencies I am using will still be in camel which doesn't solve whole problem.</li>
  <li>Mix snake_case and camelCase in node.js app. This is something I would like to avoid :)</li>
  </ol>
  <p>So what do you suggest? Mine favorite is first solutions but if you have some other smart ideas not mentioned here please feel free to tell.</p>