0.0.1 • Published 4 years ago
gotpath v0.0.1
gotpath
$ 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
})
0.0.1
4 years ago