0.0.4 • Published 3 years ago
@kozmonos/functions v0.0.4
basePath
Get base path of the project.
capitalizeFirstLetter
parameters: string
Capitalize first letter of the string.
toKebabCase
parameters: string
Convert string to kebab case.
pathToAlias
parameters: path
Convert path to alias.
checkAlias
parameters: path
Check if alias is valid.
file
read
**parameters:** pathwrite
**parameters:** {path,content,cb}copy
**parameters:** selectedPath,targetPathdelete
**parameters:** selectedPathexists
**parameters:** pathglob
**parameters:** pathstat
**parameters:** pathrename
**parameters:** selectedPath,targetPath
cache
create
**parameters:** cacheName,cacheDataread
**parameters:** cacheName,key=null