UNPKG

hd-utils

Version:

A handy utils for modern JS developers

6 lines (5 loc) 211 B
/** * @description will convert passed path string into object path for navigation * @example stringToPath("a.b.c[0]") => ["a", "b", "c", "0"] */ export default function stringToPath(path: string): string[];