Releases: replygirl/change-case-object
Releases · replygirl/change-case-object
1.3.0
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
- feat(CasedObject): You can now specify the case of a new
CasedObject
by passing a secondoptions
argument to the constructor:- TypeScript usage:
import { CasedObject, Case } from '@replygirl/change-case-object' const someObj = { someKey: { some_other_key: true }} const foo = new CasedObject(someObj, { case: Case.camel })
- JavaScript usage:
import { CasedObject } from '@replygirl/change-case-object' const someObj = { someKey: { some_other_key: true }} const foo = new CasedObject(someObj, { case: 'camel' })
- TypeScript usage:
- fix(readme): Some example code was wrong