Skip to content

Utility library system for Node & Browser - Misc stuff

Notifications You must be signed in to change notification settings

liqtags/utillie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฐ Utillie

Installing

Package manager

Using npm:

$ npm install utillie

Using bower:

$ bower install utillie

Using yarn:

$ yarn add utillie

Using pnpm:

$ pnpm add utillie

APIs

symbol type params / value
_NEED Array office-text-extractor,custommod2
benneedtest AsyncFunction
bensadd Function num1, num2
sub Function num1, num2
symbol type params / value
default Object {"topLeft":"โ•ญ","top":"โ”€","topRight":"โ•ฎ","right":"โ”‚","bottomRight":"โ•ฏ","bottom":"โ”€","bottomLeft":"โ•ฐ","left":"โ”‚"}
arrow Object {"topLeft":"โ†˜","top":"โ†“","topRight":"โ†™","right":"โ†","bottomRight":"โ†–","bottom":"โ†‘","bottomLeft":"โ†—","left":"โ†’"}
bold Object {"topLeft":"โ”","top":"โ”","topRight":"โ”“","right":"โ”ƒ","bottomRight":"โ”›","bottom":"โ”","bottomLeft":"โ”—","left":"โ”ƒ"}
classic Object {"topLeft":"+","top":"-","topRight":"+","right":"
double Object {"topLeft":"โ•”","top":"โ•","topRight":"โ•—","right":"โ•‘","bottomRight":"โ•","bottom":"โ•","bottomLeft":"โ•š","left":"โ•‘"}
doubleSingle Object {"topLeft":"โ•’","top":"โ•","topRight":"โ••","right":"โ”‚","bottomRight":"โ•›","bottom":"โ•","bottomLeft":"โ•˜","left":"โ”‚"}
round Object {"topLeft":"โ•ญ","top":"โ”€","topRight":"โ•ฎ","right":"โ”‚","bottomRight":"โ•ฏ","bottom":"โ”€","bottomLeft":"โ•ฐ","left":"โ”‚"}
single Object {"topLeft":"โ”Œ","top":"โ”€","topRight":"โ”","right":"โ”‚","bottomRight":"โ”˜","bottom":"โ”€","bottomLeft":"โ””","left":"โ”‚"}
singleDouble Object {"topLeft":"โ•“","top":"โ”€","topRight":"โ•–","right":"โ•‘","bottomRight":"โ•œ","bottom":"โ”€","bottomLeft":"โ•™","left":"โ•‘"}
symbol type params / value
default Object {}
symbol type params / value
YYYYMMDD Function d, sep
YYYYMMDDHHmmss Function d, options
YYYYMMDDHHmmssSSS Function d, msSep
accessLogDate Function d
datestruct Function now
timestamp Function t
symbol type params / value
_NEED Array crypto
defaultAlgorithm String sha256
hash Function string, algorithm
sha256 Function string, algorithm
symbol type params / value
default Object {"features":{},"criteria":{},"_reloadRate":30000}
fflipConfig Function params
fflipCriteria Object {}
fflipExpress Function
fflipExpressMiddleware Function
fflipExpressRoute Function
fflipFeatures Object {}
fflipGetFeaturesForUser Function user, flags
fflipIsFeatureEnabledForUser Function featureName, user
fflipUserHasFeature Function ...args
symbol type params / value
_NEED Array debug
LeakyBucket Function capacity, timeout, interval
symbol type params / value
default Object {}
symbol type params / value
ShopifyError Function ...args
ShopifyStorefrontClient Function options
createShopifyCheckout Function client
decodeHost Function host
getLocalCheckout Function
sanitizeHost Function
sanitizeShop Function config
setLocalCheckout Function checkout
shopifyMock Function
updateShopifyCheckout Function client
symbol type params / value
default AsyncFunction url, options
checkVersion AsyncFunction pack
get AsyncFunction url, options
getCurrentIp AsyncFunction options
getCurrentPosition AsyncFunction
getJson AsyncFunction u, o
getParsedHtml AsyncFunction u, o
getVersionOnNpm AsyncFunction packName
symbol type params / value
_NEED Array smoldash
at Function source, paths
clone Function value
cloneDeep Function value
compact Function arr
every Function collection, predicate
filter Function collection, predicate
find Function collection, predicate, fromIndex
findIndex Function collection, predicate, fromIndex
flatten Function arr
flow Function ...fns
forEach Function value, callback
get Function source, path, defaultValue
groupBy Function collection, iteratee
has Function source, path
head Function arr
indexOf Function arr, value, startIndex
isEmpty Function v
isEqual Function a, b
kebabCase Function input
keyBy Function collection, iteratee
map Function collection, iteratee
merge Function ...objs
once Function fn
pickBy Function obj, predicate
range Function start, end, step
some Function collection, predicate
sortBy Function arr, keys
take Function arr, n
uniq Function arr
uniqBy Function arr, iteratee
uniqueId Function prefix
symbol type params / value
_NEED Array mime-types,@google-cloud/storage
analyzeFile AsyncFunction any, options
assertPath AsyncFunction path, type, mode, msg, code, options
convert AsyncFunction any, options
encodeBase64DataURL Function mime, buffer
exists AsyncFunction filename
existsOnCloud AsyncFunction destination
getConfig AsyncFunction options
getConfigFilename AsyncFunction options
getGcUrlByBucket Function bucke
getTempPath Function options
handleError Function err, opts
init AsyncFunction options
isTextFile AsyncFunction file, options
legalFilename Function filename
mapFilename Function
mergeFile AsyncFunction data, options
readFile AsyncFunction name, options
readJson AsyncFunction filename, options
setConfig AsyncFunction data, options
sliceFile AsyncFunction any, options
touchPath AsyncFunction path, options
tryRm AsyncFunction path, options
unzip AsyncFunction any, options
uploadToCloud AsyncFunction data, options
writeFile AsyncFunction filename, data, options
writeJson AsyncFunction filename, data, options
writeTempFile AsyncFunction data, options
zip AsyncFunction any, options
symbol type params / value
default Object {"reset":[],"bold":[],"dim":[],"italic":[],"underline":[],"inverse":[],"hidden":[],"strikethrough":[],"black":[],"red":[],"green":[],"yellow":[],"blue":[],"magenta":[],"cyan":[],"white":[],"gray":[],"grey":[],"brightRed":[],"brightGreen":[],"brightYellow":[],"brightBlue":[],"brightMagenta":[],"brightCyan":[],"brightWhite":[],"bgBlack":[],"bgRed":[],"bgGreen":[],"bgYellow":[],"bgBlue":[],"bgMagenta":[],"bgCyan":[],"bgWhite":[],"bgGray":[],"bgGrey":[],"bgBrightRed":[],"bgBrightGreen":[],"bgBrightYellow":[],"bgBrightBlue":[],"bgBrightMagenta":[],"bgBrightCyan":[],"bgBrightWhite":[],"blackBG":[],"redBG":[],"greenBG":[],"yellowBG":[],"blueBG":[],"magentaBG":[],"cyanBG":[],"whiteBG":[]}
symbol type params / value
__ Function url, r
analyzeModule Function obj
arrayEqual Function arrA, arrB
assembleApiUrl Function hst, path, args
assembleUrl Function url, componens
assertArray Function arr, message, status, opts
assertBuffer Function buffer, message, status, options
assertDate Function time, message, status, options
assertEmail Function email, message, status, options
assertFunction Function fn, message, status, opts
assertModule Function mdl, message, status, opts
assertObject Function obj, message, status, opts
assertSet Function value, message, status, options
assertUrl Function url, message, status, options
assertUuid Function uuid, message, status, options
asyncTimeout AsyncFunction pms, timeout, err
base64Decode Function string, toBuf
base64Encode Function object, isBuf
base64Pack Function object
base64Unpack Function string
basename Function
byteToHexString Function byteArray
call Function f, ...a
checkInterval Function itv, sed
clarify Function
clone Function any
convertBase Function ipt, from, to
convertFrom16to10 Function ipt
countKeys Function any
deepCleanBigInt Function any, func
distill Function any, strict
ensureArray Function any
ensureDate Function dt, options
ensureInt Function any, options
ensureLines Function any, op
ensureString Function str, options
escapeHtml Function
exclude Function obj, keys
extError Function err, status, opt
extract Function ...path
fileURLToPath Function path
fullLengthLog Function string, options
getDateByUnixTimestamp Function timestamp
getFuncParams Function func
getItemFromStringOrArray Function any
getKeyByValue Function object, value
getRandomIndexInArray Function array, options
getRandomInt Function
getRandomItemInArray Function array, options
getShortestInArray Function arr
getType Function any
getUnixTimestampByDate Function date
hexDecode Function string, toBuf
hexEncode Function object, isBuf
humanReadableBoolean Function ensureString(any
ignoreErrFunc AsyncFunction func, options
inBrowser Function
insensitiveCompare Function strA, strB, options
insensitiveHas Function list, srt, options
is Function type, any
isAscii Function str
isModule Function module, module
isNull Function object, object
isSet Function o, strict
isUndefined Function any, any
lineSplit Function string, options
locate AsyncFunction rootPack
log Function content, filename, options
makeStringByLength Function string, length
mapKeys Function any, map, strict, path
mask Function str, options
matchVersion Function curVer, tgtVer
mergeAtoB Function objA, objB, o
need AsyncFunction name, options
newError Function msg, status, opt
once Function fn, context
parseJson Function any, fallback
parseVersion Function verstr
prettyJson Function object, opt
purgeEmoji Function any, replace
randomArray Function array
range Function from, to, options
renderBox Function content, options
renderCode Function code, options
renderObject Function obj, options
renderText Function text, options
resolve AsyncFunction async, res
rotate Function any, step, opts
shiftTime Function dif, base
split Function str, options
splitArgs Function
supportAnsiColor Function
throwError Function msg, status, opt
timeout Function
toExponential Function x, f
toString Function any, options
trim Function str, opts
tryUntil AsyncFunction fnTry, options
uniqueArray Function array
verifyEmail Function any
verifyPhone Function phone
verifyUrl Function url
verifyUuid Function uuid
voidFunc Function
which AsyncFunction any

About

Utility library system for Node & Browser - Misc stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published