npm

Need private packages and team management tools?Check out npm Orgs. »

get-property-paths

1.0.2 • Public • Published

get-property-paths

Get specify property paths from object.

Inline docs Build Status Coverage Status

Examples

Basic Useage

import getPaths from 'get-property-paths';
 
const obj={
  a: {
    b: {
      c: 1,
    },
  },
  d: [{ c: 2 }],
};
 
getPaths(obj);
[
  'a.b.c',
  'd.0.c',
]

install

npm i get-property-paths

Downloadsweekly downloads

0

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability