deno.land / std@0.157.0 / encoding / csv_stringify.ts
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556// 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,};
Version Info