Skip to content

tobyhui/getpath

Repository files navigation

gotpath

not for production

$ npm install gotpath
import gotpath from "gotpath"

gotpath(object, "path1.path2", "string")

// or 

gotpath(object, {
  // path:["path1","path2"],
  path:"path1.path2",
  type:"string",
  // type[default]: "auto", return (false) when get Value error
  // vaild:""
  // fallback: false 
})

About

javascript getpath from object

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published