parse-object-lookup-string
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

parse-object-lookup-string

Don't use this, use a Proxy when possible.

Install

npm i parse-object-lookup-string
# yarn add parse-object-lookup-string

Use

import parse from 'parse-object-lookup-string';

expect(parse('?.["123"].one?.[`\\``]')).toEqual([
  { key: '123', optional: true },
  { key: 'one', optional: false },
  { key: '`', optional: true },
]);

/parse-object-lookup-string/

    Package Sidebar

    Install

    npm i parse-object-lookup-string

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • xiphe