packages/paraphrase/index.js
function replace(haystack, needle) {
			const replacement = options.resolve ? notate(data, needle.trim()) : data[needle.trim()];

			return VALID_RESULT_TYPES.includes(typeof replacement) ? replacement : options.clean ? '' : haystack;
		}
function replace(haystack, needle) {
			const replacement = options.resolve ? notate(data, needle.trim()) : data[needle.trim()];

			return VALID_RESULT_TYPES.includes(typeof replacement) ? replacement : options.clean ? '' : haystack;
		}
function replace ( haystack , needle ) { const replacement = options . resolve ? notate ( data , needle . trim ( ) ) : data [ needle . trim ( ) ] ; return VALID_RESULT_TYPES . includes ( typeof replacement ) ? replacement : options . clean ? '' : haystack ; }
Replace method build with internal reference to the passed in data structure
@param  {String} haystack The full string match
@param  {String} needle   The content to identify as data member
@return {String}         Found value
Replace method build with internal reference to the passed in data structure