Radius Utilities (yarn add radius-utils
Available Utilities
Files
- checkDirectory: async (path)
- getExeFiles: async (path)
- emptyDirectory: async (path)
- copyFile: async (source, destination)
- renameFile: async (source, destination)
- deleteFile: async (path)
Git
- gitPush: async ()
FTP
- openFTP: async (host, user, password)
- uploadFile: async (source, destination)
- closeFTP: ()
Strings
- guid: ()
- stringForNow: (string)
Zip
- zip: async (name, source)
Importing
To add to your node project:
yarn add radius-utils
Publishing:
After making changes, publish with:
yarn publish