src/index.js
function cleanDump(value) {
  let yaml = dump(value).replace(/\n$/, '');

  if (EOL !== '\n') {
    yaml = yaml.replace(/\n/g, EOL);
  }

  return yaml;
}
function cleanDump(value) {
  let yaml = dump(value).replace(/\n$/, '');

  if (EOL !== '\n') {
    yaml = yaml.replace(/\n/g, EOL);
  }

  return yaml;
}
function cleanDump ( value ) { let yaml = dump ( value ) . replace ( / \n$ / , '' ) ; if ( EOL !== '\n' ) { yaml = yaml . replace ( / \n / g , EOL ) ; } return yaml ; }
/*
Dump a value to YAML sting without the trailing new line

@param {any} value

@returns {string}
/ * Dump a value to YAML sting without the trailing new line