Open tomprogers opened 3 years ago
Add the other stuff I have planned. Some of this will take a little research.
String methods
replace()
RegExp-facing methods (treats segments as lines unless /g flag)
/g
test()
match()
search()
exec()
Array methods (operate on folders)
slice()
splice()
push()
pop()
shift()
unshift()
Static class methods
canonicalize( directory, filename, sep )
escape( directory, filename, sep )
ppl will want resolve, join, and other familiar functions from Node's FS package
folders: []
Add the other stuff I have planned. Some of this will take a little research.
String methods
replace()
// like String.replace, operates on raw path, returns selfRegExp-facing methods (treats segments as lines unless
/g
flag)test()
//> bool? or would it be the string methodmatch()
//>search()
exec()
Array methods (operate on folders)
slice()
splice()
push()
pop()
shift()
unshift()
Static class methods
canonicalize( directory, filename, sep )
// resolves './' & '../'escape( directory, filename, sep )
// TODO: research what folks will need