lib/parser.js
function (obj, options) {

            debug('Parsing properties...');
            debug('Object: %o', obj);

            Object.keys(obj)
                .map(key => {

                    let value = obj[key];

                    debug('Value: %o', value);

                    // parse current value
                    value = helpers.parseValue(value);

                    debug('Parsed value: %o', value);

                    // replace value with the updated one
                    obj[key] = value;
                });


            debug('Parsed options: %o', obj);

            return obj;
        }
function (obj, options) {

            debug('Parsing properties...');
            debug('Object: %o', obj);

            Object.keys(obj)
                .map(key => {

                    let value = obj[key];

                    debug('Value: %o', value);

                    // parse current value
                    value = helpers.parseValue(value);

                    debug('Parsed value: %o', value);

                    // replace value with the updated one
                    obj[key] = value;
                });


            debug('Parsed options: %o', obj);

            return obj;
        }
function ( obj , options ) { debug ( 'Parsing properties...' ) ; debug ( 'Object: %o' , obj ) ; Object . keys ( obj ) . map ( key => { let value = obj [ key ] ; debug ( 'Value: %o' , value ) ; // parse current value value = helpers . parseValue ( value ) ; debug ( 'Parsed value: %o' , value ) ; // replace value with the updated one obj [ key ] = value ; } ) ; debug ( 'Parsed options: %o' , obj ) ; return obj ; }
Parse properties of an object
@param {any} obj Target object
@param {any} options Parser options
@returns {any} Parsed options
Parse properties of an object