# make_writer

function make_writer(path:String) -> Writer

Create a writer for a file.

• path: Path of the file.

Returns: the writer.

The file extension of path is used to determine the precise type of the returned object. Supported file extension are .json and .yml.