Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nsuite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nsuite
Your missing nodejs development suite! Give it a star if you find this package useful ^_^.
If you develop with Node.js, you will find that there are many many many functions/packages you need to write/install across many projects.
nsuite will make you feel more comfortable.
After install with npm i -S nsuite, you will have all the following abilities at your hand.
TypeScript is supported.
Documentation
For online documentation, please visit https://www.verysites.com/docs/nsuite/.
Env
- parseEnvFiles
Path
- getFilePath
- getDirname
- joinPath
- isPathExists
- globMatchPaths
Promise
- withTimeout
Log
- createLogger
- logInfo
- logWarn
- logError
File
- getSafeFileName
- zipFile
- zipFolder
- unzipFile
- getFileMd5
- getReadableFileSize
SSH
- getSSHClient
- sshConnect
- joinPath
- zipFolder
- sshPutFile
- sshExecCommand
Type
- getError
Debug
- attachLogToFunc
Captcha
- generateSvgCaptcha
Text
- generateSummary
Qiniu OSS
- getConfigFromQiniuOSS
- getMacFromQiniuOSS
- joinPath
- refreshUrlsFromQiniuOSS
- uploadDirToQiniuOSS
Aliyun OSS
- getClientFromAliOSS
- getObjectUrlFromAliOSS
- listFilesFromAliOSS
- deleteRemotePathListFromAliOSS
- uploadLocalFileToAliOSS
- uploadDirToAliOSS
License
This project is published under MIT license.