src/format/register.js
// given, it will be passed along to the serializer function.
given, it will be passed along to the serializer function.
given it will be passed along to the serializer function .
function serializeTo(doc, format, options) {
  let converter = serializers[format]
  if (!converter) NamespaceError.raise("Target format " + format + " not defined")
  return converter(doc, options)
}
function serializeTo ( doc , format , options ) { let converter = serializers [ format ] if ( ! converter ) NamespaceError . raise ( "Target format " + format + " not defined" ) return converter ( doc , options ) }
given, it will be passed along to the serializer function.
given it will be passed along to the serializer function .