@maiyunnet/kebab 7.6.1 → 7.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/kebab-rag.md +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/fs.js +6 -1
- package/package.json +1 -1
- package/doc/README.sc.md +0 -201
- package/doc/README.tc.md +0 -203
- package/doc/icon.png +0 -0
- package/doc/sc/api/index/index.md +0 -47
- package/doc/sc/api/index/interfaces/IConfig.md +0 -165
- package/doc/sc/api/index/interfaces/IConfigAi.md +0 -29
- package/doc/sc/api/index/interfaces/IConfigConst.md +0 -201
- package/doc/sc/api/index/interfaces/IConfigDb.md +0 -59
- package/doc/sc/api/index/interfaces/IConfigDns.md +0 -27
- package/doc/sc/api/index/interfaces/IConfigJwt.md +0 -51
- package/doc/sc/api/index/interfaces/IConfigKv.md +0 -59
- package/doc/sc/api/index/interfaces/IConfigLang.md +0 -27
- package/doc/sc/api/index/interfaces/IConfigS3.md +0 -53
- package/doc/sc/api/index/interfaces/IConfigSql.md +0 -19
- package/doc/sc/api/index/interfaces/IConfigTurnstile.md +0 -51
- package/doc/sc/api/index/interfaces/IConfigVector.md +0 -51
- package/doc/sc/api/index/interfaces/IPostFile.md +0 -43
- package/doc/sc/api/index/interfaces/IUrlParse.md +0 -97
- package/doc/sc/api/index/interfaces/IVhost.md +0 -43
- package/doc/sc/api/index/type-aliases/DbValue.md +0 -13
- package/doc/sc/api/index/type-aliases/Json.md +0 -13
- package/doc/sc/api/index/variables/CERT_CWD.md +0 -11
- package/doc/sc/api/index/variables/CONF_CWD.md +0 -11
- package/doc/sc/api/index/variables/FTMP_CWD.md +0 -11
- package/doc/sc/api/index/variables/IND_CWD.md +0 -11
- package/doc/sc/api/index/variables/LIB_CWD.md +0 -11
- package/doc/sc/api/index/variables/LIB_PATH.md +0 -11
- package/doc/sc/api/index/variables/LOG_CWD.md +0 -11
- package/doc/sc/api/index/variables/MOD_CWD.md +0 -11
- package/doc/sc/api/index/variables/ROOT_CWD.md +0 -13
- package/doc/sc/api/index/variables/ROOT_PATH.md +0 -13
- package/doc/sc/api/index/variables/SYS_PATH.md +0 -11
- package/doc/sc/api/index/variables/VER.md +0 -13
- package/doc/sc/api/index/variables/VHOST_CWD.md +0 -11
- package/doc/sc/api/index/variables/WWW_CWD.md +0 -11
- package/doc/sc/api/index.md +0 -48
- package/doc/sc/api/lib/ai/classes/Ai.md +0 -103
- package/doc/sc/api/lib/ai/enumerations/ESERVICE.md +0 -61
- package/doc/sc/api/lib/ai/functions/get.md +0 -29
- package/doc/sc/api/lib/ai/index.md +0 -23
- package/doc/sc/api/lib/ai/interfaces/IOptions.md +0 -65
- package/doc/sc/api/lib/buffer/classes/Reader.md +0 -177
- package/doc/sc/api/lib/buffer/classes/Writer.md +0 -147
- package/doc/sc/api/lib/buffer/functions/getReader.md +0 -25
- package/doc/sc/api/lib/buffer/functions/getWriter.md +0 -25
- package/doc/sc/api/lib/buffer/index.md +0 -17
- package/doc/sc/api/lib/captcha/classes/Captcha.md +0 -79
- package/doc/sc/api/lib/captcha/functions/get.md +0 -37
- package/doc/sc/api/lib/captcha/index.md +0 -15
- package/doc/sc/api/lib/consistent/classes/Consistent.md +0 -135
- package/doc/sc/api/lib/consistent/functions/addToCircle.md +0 -37
- package/doc/sc/api/lib/consistent/functions/fast.md +0 -37
- package/doc/sc/api/lib/consistent/functions/findInCircle.md +0 -37
- package/doc/sc/api/lib/consistent/functions/get.md +0 -21
- package/doc/sc/api/lib/consistent/functions/getRange.md +0 -37
- package/doc/sc/api/lib/consistent/functions/hash.md +0 -25
- package/doc/sc/api/lib/consistent/index.md +0 -20
- package/doc/sc/api/lib/core/functions/checkType.md +0 -37
- package/doc/sc/api/lib/core/functions/clone.md +0 -31
- package/doc/sc/api/lib/core/functions/convert62.md +0 -25
- package/doc/sc/api/lib/core/functions/debug.md +0 -31
- package/doc/sc/api/lib/core/functions/display.md +0 -31
- package/doc/sc/api/lib/core/functions/emptyObject.md +0 -31
- package/doc/sc/api/lib/core/functions/exec.md +0 -31
- package/doc/sc/api/lib/core/functions/getLog.md +0 -71
- package/doc/sc/api/lib/core/functions/ip.md +0 -27
- package/doc/sc/api/lib/core/functions/log.md +0 -37
- package/doc/sc/api/lib/core/functions/ls.md +0 -39
- package/doc/sc/api/lib/core/functions/muid.md +0 -59
- package/doc/sc/api/lib/core/functions/objectSort.md +0 -31
- package/doc/sc/api/lib/core/functions/passThroughAppend.md +0 -37
- package/doc/sc/api/lib/core/functions/purify.md +0 -25
- package/doc/sc/api/lib/core/functions/rand.md +0 -37
- package/doc/sc/api/lib/core/functions/random.md +0 -37
- package/doc/sc/api/lib/core/functions/realIP.md +0 -29
- package/doc/sc/api/lib/core/functions/removeGlobal.md +0 -31
- package/doc/sc/api/lib/core/functions/sendNpm.md +0 -31
- package/doc/sc/api/lib/core/functions/sendPm2.md +0 -37
- package/doc/sc/api/lib/core/functions/sendReload.md +0 -24
- package/doc/sc/api/lib/core/functions/sendRestart.md +0 -24
- package/doc/sc/api/lib/core/functions/setCookie.md +0 -43
- package/doc/sc/api/lib/core/functions/setGlobal.md +0 -37
- package/doc/sc/api/lib/core/functions/sleep.md +0 -25
- package/doc/sc/api/lib/core/functions/unconvert62.md +0 -25
- package/doc/sc/api/lib/core/functions/updateCode.md +0 -49
- package/doc/sc/api/lib/core/functions/write.md +0 -31
- package/doc/sc/api/lib/core/functions/writeEventStreamHead.md +0 -21
- package/doc/sc/api/lib/core/functions/writeHead.md +0 -37
- package/doc/sc/api/lib/core/index.md +0 -66
- package/doc/sc/api/lib/core/interfaces/ICookieOptions.md +0 -59
- package/doc/sc/api/lib/core/interfaces/ILogOptions.md +0 -75
- package/doc/sc/api/lib/core/type-aliases/TPm2Action.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_L.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LU.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LUN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LUNS.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_N.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_U.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_UN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_V.md +0 -13
- package/doc/sc/api/lib/core/variables/REAL_IP_CF.md +0 -13
- package/doc/sc/api/lib/core/variables/REAL_IP_X.md +0 -13
- package/doc/sc/api/lib/core/variables/global.md +0 -13
- package/doc/sc/api/lib/core/variables/globalConfig.md +0 -47
- package/doc/sc/api/lib/cron/functions/getRegulars.md +0 -17
- package/doc/sc/api/lib/cron/functions/regular.md +0 -31
- package/doc/sc/api/lib/cron/index.md +0 -17
- package/doc/sc/api/lib/cron/interfaces/IRegular.md +0 -59
- package/doc/sc/api/lib/cron/interfaces/IRegularData.md +0 -101
- package/doc/sc/api/lib/crypto/functions/aesDecrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/aesEncrypt.md +0 -95
- package/doc/sc/api/lib/crypto/functions/base64Decode.md +0 -59
- package/doc/sc/api/lib/crypto/functions/base64Encode.md +0 -25
- package/doc/sc/api/lib/crypto/functions/cipherDecrypt.md +0 -49
- package/doc/sc/api/lib/crypto/functions/cipherEncrypt.md +0 -49
- package/doc/sc/api/lib/crypto/functions/gcmDecrypt.md +0 -71
- package/doc/sc/api/lib/crypto/functions/gcmEncrypt.md +0 -71
- package/doc/sc/api/lib/crypto/functions/generateKeyPair.md +0 -61
- package/doc/sc/api/lib/crypto/functions/hashHmac.md +0 -79
- package/doc/sc/api/lib/crypto/functions/hashHmacFile.md +0 -79
- package/doc/sc/api/lib/crypto/functions/privateDecrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/privateEncrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/publicDecrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/publicEncrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/sign.md +0 -83
- package/doc/sc/api/lib/crypto/functions/sm4Decrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/sm4Encrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/uuid.md +0 -25
- package/doc/sc/api/lib/crypto/functions/verify.md +0 -43
- package/doc/sc/api/lib/crypto/index.md +0 -40
- package/doc/sc/api/lib/crypto/variables/AES_256_CBC.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_CTR.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_ECB.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_GCM.md +0 -13
- package/doc/sc/api/lib/crypto/variables/SM4_CBC.md +0 -11
- package/doc/sc/api/lib/crypto/variables/SM4_CFB.md +0 -13
- package/doc/sc/api/lib/crypto/variables/SM4_ECB.md +0 -13
- package/doc/sc/api/lib/db/conn/classes/Connection.md +0 -315
- package/doc/sc/api/lib/db/conn/index.md +0 -11
- package/doc/sc/api/lib/db/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/db/functions/get.md +0 -37
- package/doc/sc/api/lib/db/index.md +0 -50
- package/doc/sc/api/lib/db/interfaces/IData.md +0 -57
- package/doc/sc/api/lib/db/interfaces/IPacket.md +0 -75
- package/doc/sc/api/lib/db/pool/classes/Pool.md +0 -143
- package/doc/sc/api/lib/db/pool/functions/getConnectionList.md +0 -17
- package/doc/sc/api/lib/db/pool/index.md +0 -19
- package/doc/sc/api/lib/db/pool/interfaces/IConnectionInfo.md +0 -91
- package/doc/sc/api/lib/db/tran/classes/Transaction.md +0 -137
- package/doc/sc/api/lib/db/tran/index.md +0 -11
- package/doc/sc/api/lib/dns/classes/Dns.md +0 -187
- package/doc/sc/api/lib/dns/enumerations/ERECORDLINE.md +0 -59
- package/doc/sc/api/lib/dns/enumerations/ERECORDTYPE.md +0 -67
- package/doc/sc/api/lib/dns/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/dns/functions/get.md +0 -29
- package/doc/sc/api/lib/dns/index.md +0 -27
- package/doc/sc/api/lib/dns/interfaces/IAddDomainRecord.md +0 -27
- package/doc/sc/api/lib/dns/interfaces/IDomainList.md +0 -43
- package/doc/sc/api/lib/dns/interfaces/IOptions.md +0 -41
- package/doc/sc/api/lib/fs/functions/chmod.md +0 -31
- package/doc/sc/api/lib/fs/functions/copyFile.md +0 -31
- package/doc/sc/api/lib/fs/functions/copyFolder.md +0 -37
- package/doc/sc/api/lib/fs/functions/createReadStream.md +0 -31
- package/doc/sc/api/lib/fs/functions/createWriteStream.md +0 -31
- package/doc/sc/api/lib/fs/functions/getContent.md +0 -63
- package/doc/sc/api/lib/fs/functions/isDir.md +0 -25
- package/doc/sc/api/lib/fs/functions/isFile.md +0 -25
- package/doc/sc/api/lib/fs/functions/mkdir.md +0 -31
- package/doc/sc/api/lib/fs/functions/pipe.md +0 -39
- package/doc/sc/api/lib/fs/functions/putContent.md +0 -47
- package/doc/sc/api/lib/fs/functions/readDir.md +0 -29
- package/doc/sc/api/lib/fs/functions/readLink.md +0 -31
- package/doc/sc/api/lib/fs/functions/readToResponse.md +0 -43
- package/doc/sc/api/lib/fs/functions/rename.md +0 -31
- package/doc/sc/api/lib/fs/functions/rmdir.md +0 -25
- package/doc/sc/api/lib/fs/functions/rmdirDeep.md +0 -25
- package/doc/sc/api/lib/fs/functions/stats.md +0 -25
- package/doc/sc/api/lib/fs/functions/symlink.md +0 -37
- package/doc/sc/api/lib/fs/functions/unlink.md +0 -25
- package/doc/sc/api/lib/fs/index.md +0 -30
- package/doc/sc/api/lib/kv/classes/Kv.md +0 -1161
- package/doc/sc/api/lib/kv/functions/get.md +0 -41
- package/doc/sc/api/lib/kv/index.md +0 -20
- package/doc/sc/api/lib/kv/interfaces/IConnectionInfo.md +0 -43
- package/doc/sc/api/lib/kv/interfaces/IZRangeOptions.md +0 -52
- package/doc/sc/api/lib/lan/functions/card.md +0 -17
- package/doc/sc/api/lib/lan/functions/scan.md +0 -17
- package/doc/sc/api/lib/lan/index.md +0 -12
- package/doc/sc/api/lib/lang/functions/getCodeByAccept.md +0 -25
- package/doc/sc/api/lib/lang/index.md +0 -17
- package/doc/sc/api/lib/lang/variables/codes.md +0 -13
- package/doc/sc/api/lib/lang/variables/map.md +0 -13
- package/doc/sc/api/lib/lang/variables/names.md +0 -11
- package/doc/sc/api/lib/net/formdata/classes/FormData.md +0 -157
- package/doc/sc/api/lib/net/formdata/index.md +0 -15
- package/doc/sc/api/lib/net/formdata/interfaces/IItem.md +0 -55
- package/doc/sc/api/lib/net/functions/buildCookieQuery.md +0 -31
- package/doc/sc/api/lib/net/functions/fetch.md +0 -31
- package/doc/sc/api/lib/net/functions/filterHeaders.md +0 -37
- package/doc/sc/api/lib/net/functions/get.md +0 -31
- package/doc/sc/api/lib/net/functions/getCa.md +0 -17
- package/doc/sc/api/lib/net/functions/getFormData.md +0 -17
- package/doc/sc/api/lib/net/functions/mproxy.md +0 -38
- package/doc/sc/api/lib/net/functions/mproxyData.md +0 -25
- package/doc/sc/api/lib/net/functions/open.md +0 -23
- package/doc/sc/api/lib/net/functions/post.md +0 -37
- package/doc/sc/api/lib/net/functions/postJson.md +0 -37
- package/doc/sc/api/lib/net/functions/postJsonResponseJson.md +0 -39
- package/doc/sc/api/lib/net/functions/request.md +0 -33
- package/doc/sc/api/lib/net/functions/resetCookieSession.md +0 -25
- package/doc/sc/api/lib/net/functions/rproxy.md +0 -37
- package/doc/sc/api/lib/net/functions/setCookie.md +0 -63
- package/doc/sc/api/lib/net/index.md +0 -37
- package/doc/sc/api/lib/net/interfaces/ICookie.md +0 -69
- package/doc/sc/api/lib/net/interfaces/IMproxyOptions.md +0 -85
- package/doc/sc/api/lib/net/interfaces/IRequestOptions.md +0 -133
- package/doc/sc/api/lib/net/interfaces/IRproxyOptions.md +0 -107
- package/doc/sc/api/lib/net/request/classes/Request.md +0 -297
- package/doc/sc/api/lib/net/request/index.md +0 -11
- package/doc/sc/api/lib/net/response/classes/Response.md +0 -109
- package/doc/sc/api/lib/net/response/index.md +0 -11
- package/doc/sc/api/lib/net/type-aliases/THttpHeaders.md +0 -27
- package/doc/sc/api/lib/s3/classes/S3.md +0 -220
- package/doc/sc/api/lib/s3/enumerations/ESERVICE.md +0 -43
- package/doc/sc/api/lib/s3/functions/get.md +0 -29
- package/doc/sc/api/lib/s3/index.md +0 -23
- package/doc/sc/api/lib/s3/interfaces/IOptions.md +0 -71
- package/doc/sc/api/lib/scan/classes/Scan.md +0 -127
- package/doc/sc/api/lib/scan/functions/get.md +0 -33
- package/doc/sc/api/lib/scan/functions/scanned.md +0 -37
- package/doc/sc/api/lib/scan/functions/setData.md +0 -35
- package/doc/sc/api/lib/scan/index.md +0 -22
- package/doc/sc/api/lib/scan/interfaces/IOptions.md +0 -43
- package/doc/sc/api/lib/scan/interfaces/IStaticOptions.md +0 -35
- package/doc/sc/api/lib/session/classes/Session.md +0 -103
- package/doc/sc/api/lib/session/index.md +0 -15
- package/doc/sc/api/lib/session/interfaces/IOptions.md +0 -41
- package/doc/sc/api/lib/socket/functions/rwebsocket.md +0 -37
- package/doc/sc/api/lib/socket/index.md +0 -15
- package/doc/sc/api/lib/socket/interfaces/IRwebsocketOptions.md +0 -91
- package/doc/sc/api/lib/sql/classes/Sql.md +0 -791
- package/doc/sc/api/lib/sql/enumerations/EJSON.md +0 -61
- package/doc/sc/api/lib/sql/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/sql/functions/aoMix.md +0 -25
- package/doc/sc/api/lib/sql/functions/column.md +0 -35
- package/doc/sc/api/lib/sql/functions/format.md +0 -37
- package/doc/sc/api/lib/sql/functions/get.md +0 -43
- package/doc/sc/api/lib/sql/index.md +0 -23
- package/doc/sc/api/lib/ssh/classes/Connection.md +0 -123
- package/doc/sc/api/lib/ssh/functions/get.md +0 -25
- package/doc/sc/api/lib/ssh/index.md +0 -19
- package/doc/sc/api/lib/ssh/interfaces/IExtOptions.md +0 -33
- package/doc/sc/api/lib/ssh/sftp/classes/Connection.md +0 -628
- package/doc/sc/api/lib/ssh/sftp/index.md +0 -11
- package/doc/sc/api/lib/ssh/shell/classes/Connection.md +0 -189
- package/doc/sc/api/lib/ssh/shell/index.md +0 -11
- package/doc/sc/api/lib/text/functions/getFilename.md +0 -25
- package/doc/sc/api/lib/text/functions/htmlescape.md +0 -25
- package/doc/sc/api/lib/text/functions/int2str.md +0 -42
- package/doc/sc/api/lib/text/functions/isAscii.md +0 -25
- package/doc/sc/api/lib/text/functions/isDomain.md +0 -27
- package/doc/sc/api/lib/text/functions/isEMail.md +0 -23
- package/doc/sc/api/lib/text/functions/isFalsy.md +0 -25
- package/doc/sc/api/lib/text/functions/isIPv4.md +0 -23
- package/doc/sc/api/lib/text/functions/isIPv6.md +0 -23
- package/doc/sc/api/lib/text/functions/isIdCardCN.md +0 -25
- package/doc/sc/api/lib/text/functions/isPhoneCN.md +0 -25
- package/doc/sc/api/lib/text/functions/isRealPath.md +0 -25
- package/doc/sc/api/lib/text/functions/isTruthy.md +0 -31
- package/doc/sc/api/lib/text/functions/logicalOr.md +0 -41
- package/doc/sc/api/lib/text/functions/match.md +0 -31
- package/doc/sc/api/lib/text/functions/nlReplace.md +0 -31
- package/doc/sc/api/lib/text/functions/parseDomain.md +0 -25
- package/doc/sc/api/lib/text/functions/parseJson.md +0 -25
- package/doc/sc/api/lib/text/functions/parseUrl.md +0 -23
- package/doc/sc/api/lib/text/functions/queryParse.md +0 -25
- package/doc/sc/api/lib/text/functions/queryStringify.md +0 -69
- package/doc/sc/api/lib/text/functions/sizeFormat.md +0 -31
- package/doc/sc/api/lib/text/functions/str2int.md +0 -36
- package/doc/sc/api/lib/text/functions/stringifyBuffer.md +0 -25
- package/doc/sc/api/lib/text/functions/stringifyJson.md +0 -31
- package/doc/sc/api/lib/text/functions/stringifyResult.md +0 -25
- package/doc/sc/api/lib/text/functions/trimJson.md +0 -23
- package/doc/sc/api/lib/text/functions/urlAtom.md +0 -25
- package/doc/sc/api/lib/text/functions/urlResolve.md +0 -31
- package/doc/sc/api/lib/text/index.md +0 -55
- package/doc/sc/api/lib/text/interfaces/IDomain.md +0 -43
- package/doc/sc/api/lib/text/type-aliases/TFalsy.md +0 -13
- package/doc/sc/api/lib/text/variables/REGEXP_ASCII.md +0 -13
- package/doc/sc/api/lib/text/variables/REGEXP_DOMAIN.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_EMAIL.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_IPV4.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_IPV6.md +0 -11
- package/doc/sc/api/lib/time/classes/Time.md +0 -125
- package/doc/sc/api/lib/time/functions/format.md +0 -37
- package/doc/sc/api/lib/time/functions/get.md +0 -27
- package/doc/sc/api/lib/time/functions/isMs.md +0 -25
- package/doc/sc/api/lib/time/functions/stamp.md +0 -31
- package/doc/sc/api/lib/time/index.md +0 -28
- package/doc/sc/api/lib/time/interfaces/IOptions.md +0 -29
- package/doc/sc/api/lib/time/variables/DAY.md +0 -13
- package/doc/sc/api/lib/time/variables/HOUR.md +0 -13
- package/doc/sc/api/lib/time/variables/YEAR.md +0 -13
- package/doc/sc/api/lib/turnstile/enumerations/EFACTORY.md +0 -27
- package/doc/sc/api/lib/turnstile/functions/verify.md +0 -35
- package/doc/sc/api/lib/turnstile/index.md +0 -15
- package/doc/sc/api/lib/vector/classes/Vector.md +0 -141
- package/doc/sc/api/lib/vector/functions/get.md +0 -25
- package/doc/sc/api/lib/vector/index.md +0 -19
- package/doc/sc/api/lib/vector/interfaces/IOptions.md +0 -61
- package/doc/sc/api/lib/ws/classes/Socket.md +0 -331
- package/doc/sc/api/lib/ws/enumerations/EFrameReceiveMode.md +0 -35
- package/doc/sc/api/lib/ws/enumerations/EOpcode.md +0 -59
- package/doc/sc/api/lib/ws/functions/connect.md +0 -31
- package/doc/sc/api/lib/ws/functions/createServer.md +0 -45
- package/doc/sc/api/lib/ws/functions/mproxy.md +0 -38
- package/doc/sc/api/lib/ws/functions/rproxy.md +0 -37
- package/doc/sc/api/lib/ws/functions/rsocket.md +0 -37
- package/doc/sc/api/lib/ws/index.md +0 -30
- package/doc/sc/api/lib/ws/interfaces/IConnectOptions.md +0 -95
- package/doc/sc/api/lib/ws/interfaces/IMproxyOptions.md +0 -87
- package/doc/sc/api/lib/ws/interfaces/IRproxyOptions.md +0 -105
- package/doc/sc/api/lib/zip/classes/Zip.md +0 -392
- package/doc/sc/api/lib/zip/functions/get.md +0 -25
- package/doc/sc/api/lib/zip/index.md +0 -29
- package/doc/sc/api/lib/zip/interfaces/IZipInputByType.md +0 -81
- package/doc/sc/api/lib/zip/interfaces/IZipItem.md +0 -65
- package/doc/sc/api/lib/zip/interfaces/IZipMetadata.md +0 -25
- package/doc/sc/api/lib/zip/interfaces/IZipOutputByType.md +0 -81
- package/doc/sc/api/lib/zip/interfaces/IZipStats.md +0 -49
- package/doc/sc/api/lib/zip/type-aliases/TZipInputFileFormat.md +0 -11
- package/doc/sc/api/lib/zip/type-aliases/TZipInputType.md +0 -11
- package/doc/sc/api/lib/zip/type-aliases/TZipOutputType.md +0 -11
- package/doc/sc/api/lib/zlib/functions/brotliCompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/brotliDecompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/compress.md +0 -37
- package/doc/sc/api/lib/zlib/functions/createBrotliCompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createBrotliDecompress.md +0 -17
- package/doc/sc/api/lib/zlib/functions/createCompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/createDecompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createDeflate.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createGunzip.md +0 -17
- package/doc/sc/api/lib/zlib/functions/createGzip.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createInflate.md +0 -17
- package/doc/sc/api/lib/zlib/functions/decompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/deflate.md +0 -31
- package/doc/sc/api/lib/zlib/functions/gunzip.md +0 -25
- package/doc/sc/api/lib/zlib/functions/gzip.md +0 -31
- package/doc/sc/api/lib/zlib/functions/inflate.md +0 -25
- package/doc/sc/api/lib/zlib/index.md +0 -31
- package/doc/sc/api/lib/zlib/interfaces/ICompress.md +0 -27
- package/doc/sc/api/lib/zlib/interfaces/ICompressBuffer.md +0 -27
- package/doc/sc/api/main/index.md +0 -7
- package/doc/sc/api/sys/ctr/classes/Ctr.md +0 -1242
- package/doc/sc/api/sys/ctr/functions/clearLocaleData.md +0 -17
- package/doc/sc/api/sys/ctr/index.md +0 -15
- package/doc/sc/api/sys/mod/classes/Rows.md +0 -165
- package/doc/sc/api/sys/mod/classes/default.md +0 -2175
- package/doc/sc/api/sys/mod/index.md +0 -21
- package/doc/sc/api/sys/mod/interfaces/IModUnionItem.md +0 -25
- package/doc/sc/api/sys/mod/interfaces/IRows.md +0 -57
- package/doc/sc/api/sys/mod/type-aliases/TOnlyProperties.md +0 -19
- package/doc/sc/api/sys/route/functions/clearKebabConfigs.md +0 -17
- package/doc/sc/api/sys/route/functions/getFormData.md +0 -47
- package/doc/sc/api/sys/route/functions/getPost.md +0 -25
- package/doc/sc/api/sys/route/functions/run.md +0 -83
- package/doc/sc/api/sys/route/functions/unlinkUploadFiles.md +0 -25
- package/doc/sc/api/sys/route/functions/waitCtr.md +0 -26
- package/doc/sc/api/sys/route/index.md +0 -16
- package/doc/sc/quick-start.md +0 -30
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / lib/zip
|
|
6
|
-
|
|
7
|
-
# lib/zip
|
|
8
|
-
|
|
9
|
-
## Classes
|
|
10
|
-
|
|
11
|
-
- [Zip](classes/Zip.md)
|
|
12
|
-
|
|
13
|
-
## Interfaces
|
|
14
|
-
|
|
15
|
-
- [IZipInputByType](interfaces/IZipInputByType.md)
|
|
16
|
-
- [IZipItem](interfaces/IZipItem.md)
|
|
17
|
-
- [IZipMetadata](interfaces/IZipMetadata.md)
|
|
18
|
-
- [IZipOutputByType](interfaces/IZipOutputByType.md)
|
|
19
|
-
- [IZipStats](interfaces/IZipStats.md)
|
|
20
|
-
|
|
21
|
-
## Type Aliases
|
|
22
|
-
|
|
23
|
-
- [TZipInputFileFormat](type-aliases/TZipInputFileFormat.md)
|
|
24
|
-
- [TZipInputType](type-aliases/TZipInputType.md)
|
|
25
|
-
- [TZipOutputType](type-aliases/TZipOutputType.md)
|
|
26
|
-
|
|
27
|
-
## Functions
|
|
28
|
-
|
|
29
|
-
- [get](functions/get.md)
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / IZipInputByType
|
|
6
|
-
|
|
7
|
-
# Interface: IZipInputByType
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/zip.ts:475](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L475)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### array
|
|
14
|
-
|
|
15
|
-
> **array**: `number`[]
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/zip.ts:480](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L480)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### arraybuffer
|
|
22
|
-
|
|
23
|
-
> **arraybuffer**: `ArrayBuffer`
|
|
24
|
-
|
|
25
|
-
Defined in: [lib/zip.ts:482](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L482)
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### base64
|
|
30
|
-
|
|
31
|
-
> **base64**: `string`
|
|
32
|
-
|
|
33
|
-
Defined in: [lib/zip.ts:476](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L476)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### binarystring
|
|
38
|
-
|
|
39
|
-
> **binarystring**: `string`
|
|
40
|
-
|
|
41
|
-
Defined in: [lib/zip.ts:479](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L479)
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### blob
|
|
46
|
-
|
|
47
|
-
> **blob**: `Blob`
|
|
48
|
-
|
|
49
|
-
Defined in: [lib/zip.ts:483](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L483)
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### nodebuffer
|
|
54
|
-
|
|
55
|
-
> **nodebuffer**: `Buffer`
|
|
56
|
-
|
|
57
|
-
Defined in: [lib/zip.ts:484](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L484)
|
|
58
|
-
|
|
59
|
-
***
|
|
60
|
-
|
|
61
|
-
### string
|
|
62
|
-
|
|
63
|
-
> **string**: `string`
|
|
64
|
-
|
|
65
|
-
Defined in: [lib/zip.ts:477](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L477)
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### text
|
|
70
|
-
|
|
71
|
-
> **text**: `string`
|
|
72
|
-
|
|
73
|
-
Defined in: [lib/zip.ts:478](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L478)
|
|
74
|
-
|
|
75
|
-
***
|
|
76
|
-
|
|
77
|
-
### uint8array
|
|
78
|
-
|
|
79
|
-
> **uint8array**: `Uint8Array`
|
|
80
|
-
|
|
81
|
-
Defined in: [lib/zip.ts:481](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L481)
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / IZipItem
|
|
6
|
-
|
|
7
|
-
# Interface: IZipItem
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/zip.ts:443](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L443)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### compressedSize
|
|
14
|
-
|
|
15
|
-
> **compressedSize**: `number`
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/zip.ts:445](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L445)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### date
|
|
22
|
-
|
|
23
|
-
> **date**: `Date`
|
|
24
|
-
|
|
25
|
-
Defined in: [lib/zip.ts:447](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L447)
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### isDirectory
|
|
30
|
-
|
|
31
|
-
> **isDirectory**: `boolean`
|
|
32
|
-
|
|
33
|
-
Defined in: [lib/zip.ts:449](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L449)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### isFile
|
|
38
|
-
|
|
39
|
-
> **isFile**: `boolean`
|
|
40
|
-
|
|
41
|
-
Defined in: [lib/zip.ts:448](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L448)
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### name
|
|
46
|
-
|
|
47
|
-
> **name**: `string`
|
|
48
|
-
|
|
49
|
-
Defined in: [lib/zip.ts:444](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L444)
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### path
|
|
54
|
-
|
|
55
|
-
> **path**: `string`
|
|
56
|
-
|
|
57
|
-
Defined in: [lib/zip.ts:450](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L450)
|
|
58
|
-
|
|
59
|
-
***
|
|
60
|
-
|
|
61
|
-
### uncompressedSize
|
|
62
|
-
|
|
63
|
-
> **uncompressedSize**: `number`
|
|
64
|
-
|
|
65
|
-
Defined in: [lib/zip.ts:446](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L446)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / IZipMetadata
|
|
6
|
-
|
|
7
|
-
# Interface: IZipMetadata
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/zip.ts:491](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L491)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### currentFile
|
|
14
|
-
|
|
15
|
-
> **currentFile**: `string` \| `null`
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/zip.ts:493](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L493)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### percent
|
|
22
|
-
|
|
23
|
-
> **percent**: `number`
|
|
24
|
-
|
|
25
|
-
Defined in: [lib/zip.ts:492](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L492)
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / IZipOutputByType
|
|
6
|
-
|
|
7
|
-
# Interface: IZipOutputByType
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/zip.ts:461](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L461)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### array
|
|
14
|
-
|
|
15
|
-
> **array**: `number`[]
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/zip.ts:466](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L466)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### arraybuffer
|
|
22
|
-
|
|
23
|
-
> **arraybuffer**: `ArrayBuffer`
|
|
24
|
-
|
|
25
|
-
Defined in: [lib/zip.ts:468](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L468)
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### base64
|
|
30
|
-
|
|
31
|
-
> **base64**: `string`
|
|
32
|
-
|
|
33
|
-
Defined in: [lib/zip.ts:462](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L462)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### binarystring
|
|
38
|
-
|
|
39
|
-
> **binarystring**: `string`
|
|
40
|
-
|
|
41
|
-
Defined in: [lib/zip.ts:465](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L465)
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### blob
|
|
46
|
-
|
|
47
|
-
> **blob**: `Blob`
|
|
48
|
-
|
|
49
|
-
Defined in: [lib/zip.ts:469](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L469)
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### nodebuffer
|
|
54
|
-
|
|
55
|
-
> **nodebuffer**: `Buffer`
|
|
56
|
-
|
|
57
|
-
Defined in: [lib/zip.ts:470](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L470)
|
|
58
|
-
|
|
59
|
-
***
|
|
60
|
-
|
|
61
|
-
### string
|
|
62
|
-
|
|
63
|
-
> **string**: `string`
|
|
64
|
-
|
|
65
|
-
Defined in: [lib/zip.ts:463](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L463)
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### text
|
|
70
|
-
|
|
71
|
-
> **text**: `string`
|
|
72
|
-
|
|
73
|
-
Defined in: [lib/zip.ts:464](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L464)
|
|
74
|
-
|
|
75
|
-
***
|
|
76
|
-
|
|
77
|
-
### uint8array
|
|
78
|
-
|
|
79
|
-
> **uint8array**: `Uint8Array`
|
|
80
|
-
|
|
81
|
-
Defined in: [lib/zip.ts:467](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L467)
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / IZipStats
|
|
6
|
-
|
|
7
|
-
# Interface: IZipStats
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/zip.ts:453](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L453)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### compressedSize
|
|
14
|
-
|
|
15
|
-
> **compressedSize**: `number`
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/zip.ts:454](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L454)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### date
|
|
22
|
-
|
|
23
|
-
> **date**: `Date`
|
|
24
|
-
|
|
25
|
-
Defined in: [lib/zip.ts:456](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L456)
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### isDirectory
|
|
30
|
-
|
|
31
|
-
> **isDirectory**: `boolean`
|
|
32
|
-
|
|
33
|
-
Defined in: [lib/zip.ts:458](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L458)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### isFile
|
|
38
|
-
|
|
39
|
-
> **isFile**: `boolean`
|
|
40
|
-
|
|
41
|
-
Defined in: [lib/zip.ts:457](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L457)
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### uncompressedSize
|
|
46
|
-
|
|
47
|
-
> **uncompressedSize**: `number`
|
|
48
|
-
|
|
49
|
-
Defined in: [lib/zip.ts:455](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L455)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / TZipInputFileFormat
|
|
6
|
-
|
|
7
|
-
# Type Alias: TZipInputFileFormat
|
|
8
|
-
|
|
9
|
-
> **TZipInputFileFormat** = [`IZipInputByType`](../interfaces/IZipInputByType.md)\[keyof [`IZipInputByType`](../interfaces/IZipInputByType.md)\]
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zip.ts:489](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L489)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / TZipInputType
|
|
6
|
-
|
|
7
|
-
# Type Alias: TZipInputType
|
|
8
|
-
|
|
9
|
-
> **TZipInputType** = keyof [`IZipInputByType`](../interfaces/IZipInputByType.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zip.ts:487](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L487)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zip](../index.md) / TZipOutputType
|
|
6
|
-
|
|
7
|
-
# Type Alias: TZipOutputType
|
|
8
|
-
|
|
9
|
-
> **TZipOutputType** = keyof [`IZipOutputByType`](../interfaces/IZipOutputByType.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zip.ts:473](https://github.com/maiyunnet/kebab/blob/master/lib/zip.ts#L473)
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / brotliCompress
|
|
6
|
-
|
|
7
|
-
# Function: brotliCompress()
|
|
8
|
-
|
|
9
|
-
> **brotliCompress**(`buffer`, `options`): `Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:212](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L212)
|
|
12
|
-
|
|
13
|
-
Brotli 压缩一段
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### buffer
|
|
18
|
-
|
|
19
|
-
`InputType`
|
|
20
|
-
|
|
21
|
-
段
|
|
22
|
-
|
|
23
|
-
### options
|
|
24
|
-
|
|
25
|
-
`ZlibOptions` = `{}`
|
|
26
|
-
|
|
27
|
-
选项
|
|
28
|
-
|
|
29
|
-
## Returns
|
|
30
|
-
|
|
31
|
-
`Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / brotliDecompress
|
|
6
|
-
|
|
7
|
-
# Function: brotliDecompress()
|
|
8
|
-
|
|
9
|
-
> **brotliDecompress**(`buffer`): `Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:230](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L230)
|
|
12
|
-
|
|
13
|
-
Brotli 解压一段
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### buffer
|
|
18
|
-
|
|
19
|
-
`InputType`
|
|
20
|
-
|
|
21
|
-
段
|
|
22
|
-
|
|
23
|
-
## Returns
|
|
24
|
-
|
|
25
|
-
`Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / compress
|
|
6
|
-
|
|
7
|
-
# Function: compress()
|
|
8
|
-
|
|
9
|
-
> **compress**(`types`, `buffer`, `options?`): `Promise`\<[`ICompressBuffer`](../interfaces/ICompressBuffer.md) \| `null`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:249](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L249)
|
|
12
|
-
|
|
13
|
-
根据 types 判断用什么加密的段
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### types
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
用,间隔的字符串,如 gzip,deflate
|
|
22
|
-
|
|
23
|
-
### buffer
|
|
24
|
-
|
|
25
|
-
段
|
|
26
|
-
|
|
27
|
-
`InputType` | `null`
|
|
28
|
-
|
|
29
|
-
### options?
|
|
30
|
-
|
|
31
|
-
`ZlibOptions`
|
|
32
|
-
|
|
33
|
-
选项
|
|
34
|
-
|
|
35
|
-
## Returns
|
|
36
|
-
|
|
37
|
-
`Promise`\<[`ICompressBuffer`](../interfaces/ICompressBuffer.md) \| `null`\>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createBrotliCompress
|
|
6
|
-
|
|
7
|
-
# Function: createBrotliCompress()
|
|
8
|
-
|
|
9
|
-
> **createBrotliCompress**(`options`): `BrotliCompress`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:57](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L57)
|
|
12
|
-
|
|
13
|
-
创建 Brotli 压缩对象
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### options
|
|
18
|
-
|
|
19
|
-
`ZlibOptions` = `{}`
|
|
20
|
-
|
|
21
|
-
选项
|
|
22
|
-
|
|
23
|
-
## Returns
|
|
24
|
-
|
|
25
|
-
`BrotliCompress`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createBrotliDecompress
|
|
6
|
-
|
|
7
|
-
# Function: createBrotliDecompress()
|
|
8
|
-
|
|
9
|
-
> **createBrotliDecompress**(): `BrotliDecompress`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:65](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L65)
|
|
12
|
-
|
|
13
|
-
创建 Brotli 解压对象
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`BrotliDecompress`
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createCompress
|
|
6
|
-
|
|
7
|
-
# Function: createCompress()
|
|
8
|
-
|
|
9
|
-
> **createCompress**(`types`, `options`): [`ICompress`](../interfaces/ICompress.md) \| `null`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:74](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L74)
|
|
12
|
-
|
|
13
|
-
根据字符串创建压缩类型
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### types
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
用 , 间隔的字符串,如 gzip,deflate
|
|
22
|
-
|
|
23
|
-
### options
|
|
24
|
-
|
|
25
|
-
`ZlibOptions` = `{}`
|
|
26
|
-
|
|
27
|
-
选项
|
|
28
|
-
|
|
29
|
-
## Returns
|
|
30
|
-
|
|
31
|
-
[`ICompress`](../interfaces/ICompress.md) \| `null`
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createDecompress
|
|
6
|
-
|
|
7
|
-
# Function: createDecompress()
|
|
8
|
-
|
|
9
|
-
> **createDecompress**(`types`): [`ICompress`](../interfaces/ICompress.md) \| `null`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:107](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L107)
|
|
12
|
-
|
|
13
|
-
根据字符串创建解压类型
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### types
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
用 , 间隔的字符串,如 gzip, deflate
|
|
22
|
-
|
|
23
|
-
## Returns
|
|
24
|
-
|
|
25
|
-
[`ICompress`](../interfaces/ICompress.md) \| `null`
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createDeflate
|
|
6
|
-
|
|
7
|
-
# Function: createDeflate()
|
|
8
|
-
|
|
9
|
-
> **createDeflate**(`options`): `Deflate`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:41](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L41)
|
|
12
|
-
|
|
13
|
-
创建 Deflate 对象
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### options
|
|
18
|
-
|
|
19
|
-
`ZlibOptions` = `{}`
|
|
20
|
-
|
|
21
|
-
选项
|
|
22
|
-
|
|
23
|
-
## Returns
|
|
24
|
-
|
|
25
|
-
`Deflate`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createGunzip
|
|
6
|
-
|
|
7
|
-
# Function: createGunzip()
|
|
8
|
-
|
|
9
|
-
> **createGunzip**(): `Gunzip`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:33](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L33)
|
|
12
|
-
|
|
13
|
-
创建 Gzip 解压对象
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`Gunzip`
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createGzip
|
|
6
|
-
|
|
7
|
-
# Function: createGzip()
|
|
8
|
-
|
|
9
|
-
> **createGzip**(`options`): `Gzip`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:25](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L25)
|
|
12
|
-
|
|
13
|
-
创建 Gzip 对象
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### options
|
|
18
|
-
|
|
19
|
-
`ZlibOptions` = `{}`
|
|
20
|
-
|
|
21
|
-
选项
|
|
22
|
-
|
|
23
|
-
## Returns
|
|
24
|
-
|
|
25
|
-
`Gzip`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / createInflate
|
|
6
|
-
|
|
7
|
-
# Function: createInflate()
|
|
8
|
-
|
|
9
|
-
> **createInflate**(): `Inflate`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:49](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L49)
|
|
12
|
-
|
|
13
|
-
创建 Deflate 解压对象
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`Inflate`
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/zlib](../index.md) / decompress
|
|
6
|
-
|
|
7
|
-
# Function: decompress()
|
|
8
|
-
|
|
9
|
-
> **decompress**(`types`, `buffer`): `Promise`\<[`ICompressBuffer`](../interfaces/ICompressBuffer.md) \| `null`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/zlib.ts:290](https://github.com/maiyunnet/kebab/blob/master/lib/zlib.ts#L290)
|
|
12
|
-
|
|
13
|
-
根据 types 判断用什么解密的段
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### types
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
用,间隔的字符串,如 gzip,deflate
|
|
22
|
-
|
|
23
|
-
### buffer
|
|
24
|
-
|
|
25
|
-
段
|
|
26
|
-
|
|
27
|
-
`InputType` | `null`
|
|
28
|
-
|
|
29
|
-
## Returns
|
|
30
|
-
|
|
31
|
-
`Promise`\<[`ICompressBuffer`](../interfaces/ICompressBuffer.md) \| `null`\>
|