PathOpts: Readonly<{
    duplicates: "overwrite" | "allow" | "ignore";
    separator: string;
}>

Options for parsing a path

Type declaration

  • duplicates: "overwrite" | "allow" | "ignore"

    If two values are stored at same path, what to do? Default: overwrite

    • overwrite: last-write wins
    • ignore: first-write wins
    • allow: allow multiple values
  • separator: string

    Separator for path, eg '.'