Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 357 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 357 Bytes

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 
})