EdgeAIG's picture
download
raw
865 Bytes
import type { Document } from '../doc/Document';
import type { Alias } from '../nodes/Alias';
import type { ToStringOptions } from '../options';
export type StringifyContext = {
actualString?: boolean;
allNullValues?: boolean;
anchors: Set<string>;
doc: Document;
forceBlockIndent?: boolean;
implicitKey?: boolean;
indent: string;
indentStep: string;
indentAtStart?: number;
inFlow: boolean | null;
inStringifyKey?: boolean;
flowCollectionPadding: string;
options: Readonly<Required<Omit<ToStringOptions, 'collectionStyle' | 'indent'>>>;
resolvedAliases?: Set<Alias>;
};
export declare function createStringifyContext(doc: Document, options: ToStringOptions): StringifyContext;
export declare function stringify(item: unknown, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;

Xet Storage Details

Size:
865 Bytes
·
Xet hash:
961ce920ecf53cfead1876b6e42f5f8b050eaadb5e528b9b3a775c3b0fe3b7c9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.