Skip to main content
Module

std/encoding/csv_stringify.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { Column, ColumnDetails, DataItem, NEWLINE, stringify, StringifyOptions,} from "./csv.ts";
/** * Provides {@linkcode stringify} to encode data following the * [CSV specification](https://tools.ietf.org/html/rfc4180). * * This module is browser compatible. * * @module */
/** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Use `Error` instead. */export class StringifyError extends Error { override readonly name = "StringifyError";}
export type { /** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Import from "./csv.ts" instead. */ Column, /** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Import from "./csv.ts" instead. */ ColumnDetails, /** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Import from "./csv.ts" instead. */ DataItem, /** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Import from "./csv.ts" instead. */ StringifyOptions,};
export { /** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Use `"\r\n"` instead. */ NEWLINE, /** * @deprecated (will be removed after 0.157.0) This file will be removed soon. Import from "./csv.ts" instead. */ stringify,};