import csv


def write_manifest(outstream, config):
    """Write manifest information to file-like object

    Parameters
    ----------
    outstream : writable file like object
        destination for the tab delimited contents
    config : dict
        Contains dictionary of manifest metadata values.
    """
    writer = csv.writer(outstream, delimiter="\t")
    writer.writerow(["name", "value"])
    for key in config:
        writer.writerow([key, config[key]])
    return outstream