index.js
function getFormat(syntax, options) {
	let format = syntaxFormat[syntax];
	if (typeof format === 'string') {
		format = syntaxFormat[format];
	}

	return Object.assign({}, format, options && options.format);
}
function getFormat(syntax, options) {
	let format = syntaxFormat[syntax];
	if (typeof format === 'string') {
		format = syntaxFormat[format];
	}

	return Object.assign({}, format, options && options.format);
}
function getFormat ( syntax , options ) { let format = syntaxFormat [ syntax ] ; if ( typeof format === 'string' ) { format = syntaxFormat [ format ] ; } return Object . assign ( { } , format , options && options . format ) ; }
Returns formatter object for given syntax
@param  {String} syntax
@param  {Object} [options]
@return {Object} Formatter object as defined in `syntaxFormat`
Returns formatter object for given syntax