node-dextrin - v0.4.0
    Preparing search index...

    Variable export=

    "export=": {
        delete: (doc: Doc, path: Path) => Doc;
        DocumentError: typeof DocumentError;
        format: (doc: Doc, opts?: { indent?: number; width?: number }) => string;
        insert: (doc: Doc, path: Path, where: unknown, value: unknown) => Doc;
        parse: (source: string, opts?: Options) => Doc;
        render: (doc: Doc) => string;
        replace: (doc: Doc, path: Path, value: unknown) => Doc;
        toValue: (doc: Doc) => unknown;
        update: (
            doc: Doc,
            value: unknown,
            opts?: { onAmbiguity?: "safe" | "guess" | "error" },
        ) => { changes: Change[]; doc: Doc };
    }

    Type Declaration

    • delete: (doc: Doc, path: Path) => Doc
    • DocumentError: typeof DocumentError
    • format: (doc: Doc, opts?: { indent?: number; width?: number }) => string
    • insert: (doc: Doc, path: Path, where: unknown, value: unknown) => Doc
    • parse: (source: string, opts?: Options) => Doc
    • render: (doc: Doc) => string
    • replace: (doc: Doc, path: Path, value: unknown) => Doc
    • toValue: (doc: Doc) => unknown
    • update: (
          doc: Doc,
          value: unknown,
          opts?: { onAmbiguity?: "safe" | "guess" | "error" },
      ) => { changes: Change[]; doc: Doc }