lowercase-first-keys

Lowercase the first letter of the keys in an object

Usage no npm install needed!

<script type="module">
  import lowercaseFirstKeys from 'https://cdn.skypack.dev/lowercase-first-keys';
</script>

README

lowercase-first-keys Build Status

Lowercase the first letter of the keys in an object

Install

$ npm install --save lowercase-first-keys

Usage

const lowercaseFirstKeys = require('lowercase-first-keys');

lowercaseFirstKeys({FooBar: 'bar'});
//=> {fooBar: 'baz'}

License

MIT © Andreas Gillström