@edirect/object-keys-string-parse
v1.1.1
Published
Object Keys Recursive String Parse
Downloads
167
Maintainers
Keywords
Readme
@edirect/object-keys-string-parse
The EDirectInsure Object Keys Recursive String Parse.
Installation
npm i --save @edirect/object-keys-string-parse
Usage
import { objectKeysStringParse } from '@edirect/object-keys-string-parse';
objectKeysStringParse({ foo: { bar: 'baz' } });
//=> { 'foo.bar' : 'baz' }
Skip array parse
import { objectKeysStringParse } from '@edirect/object-keys-string-parse';
objectKeysStringParse({ foo: ['bar', 'baz'] }, { skipArray: true });
//=> { foo : ['bar', 'baz'] }