New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

utilitas

Package Overview
Dependencies
Maintainers
1
Versions
1233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilitas

Just another common utility for JavaScript.

latest
Source
npmnpm
Version
2001.1.137
Version published
Maintainers
1
Created
Source

🧰 utilitas

MIT licensed Node.js Package

Just another common utility for JavaScript.

Works in Node.js and modern browsers.

Projects developed using utilitas

APIs

alan

symboltypeparams / value
_NEEDArrayOpenAI,@google/genai
defaultAsyncFunctionoptions
CLOUD_OPUS_46Stringclaude-opus-4.6
CODE_INTERPRETERObject{"type":"code_interpreter"}
DEEPSEEK_32Stringdeepseek-3.2-speciale
FEATURE_ICONSObject{"audio":"🔊","deep-research":"🔍","fast":"⚡️","hearing":"👂","hidden":"🙈","image":"🎨","reasoning":"🧠","structured":"📊","tools":"🧰","video":"🎬","vision":"👁️"}
FUNCTIONObject{"type":"function"}
GEMINI_25_FLASH_TTSStringgemini-2.5-flash-preview-tts
GEMINI_25_PRO_TTSStringgemini-2.5-pro-preview-tts
GEMINI_30_FLASHStringgemini-3-flash-preview
GEMINI_30_PRO_IMAGEStringgemini-3-pro-image-preview
GEMINI_31_PROStringgemini-3.1-pro-preview
GPT_54Stringgpt-5.4
GPT_IMAGE_15Stringgpt-image-1.5
OPENAI_VOICEStringOPENAI_VOICE
RETRIEVALObject{"type":"retrieval"}
TOPStringtop
VEO_31Stringveo-3.1-generate-preview
_NO_RENDERArrayINSTRUCTIONS,MODELS,DEFAULT_MODELS
analyzeSessionsAsyncFunctionsessionIds, options
countTokensFunctioninput
distillFileAsyncFunctionattachments, o
getAiAsyncFunctionid, options
getChatAttachmentCostAsyncFunctionoptions
getChatPromptLimitAsyncFunctionoptions
getSessionAsyncFunctionsessionId, options
initAsyncFunctionoptions
initChatAsyncFunctionoptions
joinL1Function
joinL2Function
kFunction
listOpenAIModelsAsyncFunctionaiId, options
promptAsyncFunctioninput, options
promptOpenRouterAsyncFunctionaiId, content, options
resetSessionAsyncFunctionsessionId, options
setSessionAsyncFunctionsessionId, session, options
sttAsyncFunctionaudio, options
talkAsyncFunctionrequest, options
trimPromptFunctionprompt, maxInputTokens, options
trimTextFunctiontext, options
ttsAsyncFunctioncontent, options

bee

symboltypeparams / value
_NEEDArraypuppeteer
defaultAsyncFunction
browseAsyncFunctionurl, options
endAsyncFunction
initAsyncFunction

bot

symboltypeparams / value
_NEEDArraytelegraf
defaultAsyncFunctionoptions
BOTString🤖
EMOJI_THINKINGString💬
EMOJI_WARNINGString⚠️
MESSAGE_LENGTH_LIMITNumber3809
PARSE_MODE_MDStringMarkdown
PARSE_MODE_MD_V2StringMarkdownV2
endAsyncFunctionasync, options
initAsyncFunctionoptions
linesFunctionarr, sep
parse_modeStringMarkdown
sendAsyncFunctionchatId, content, options
sendMdFunctioncId, cnt, opt

cache

symboltypeparams / value
_NEEDArrayioredis
defaultAsyncFunctionoptions
delAsyncFunction
endAsyncFunction
getAsyncFunction
initAsyncFunctionoptions
setAsyncFunctionkey, value, options
setExAsyncFunctionkey, value, ttl, options

callosum

symboltypeparams / value
defaultAsyncFunctionoptions
assertFuncFunction
assignFunctionk, v, o
boardcastFunctionaction, data
callAsyncFunctionfunc, options
delFunctionk, s, o
delKeyAsyncFunctionargs, options
endAsyncFunction
engageFunctionworker, action, data
flushAsyncFunctionk, o
getAsyncFunction...args
getFuncFunctionname, options
getListenersFunctioni
ignoreFunctioni
initAsyncFunctionoptions
isPrimaryBooleantrue
isWorkerBooleanfalse
onFunctionaction, callback, options
onceFunctionaction, cbf, opts
popAsyncFunctionk, o
pushFunctionk, v, o
queueFunctionk, v, o
registerFunctionname, func, options
reportFunctionaction, data
setAsyncFunctionkey, value, options
shiftAsyncFunctionk, o
unregisterFunctionname
unshiftFunctionk, v, o
workerUndefined
workersObject{}

color

symboltypeparams / value
defaultObject{}

dbio

symboltypeparams / value
_NEEDArraymysql2,pg
defaultAsyncFunctionoptions
MYSQLStringMYSQL
POSTGRESQLStringPOSTGRESQL
assembleInsertFunctiontable, data, options
assembleQueryFunctiontable, options
assembleSetFunctiondata, options
assembleTailFunctionoptions
assembleUpdateFunctiontable, data, options
cleanSqlFunctionsql
countAllAsyncFunctiontable
countByKeyValueAsyncFunctiontable, key, value
deleteAllAsyncFunctiontable, options
deleteByIdAsyncFunctiontable, id, options
deleteByKeyValueAsyncFunctiontable, key, value, options
descAsyncFunctiontable, options
dropAsyncFunctiontable, options
enableVectorAsyncFunction
encodeVectorAsyncFunction
endAsyncFunctionoptions
executeAsyncFunction...args
getPgvectorAsyncFunction
getProviderAsyncFunction
indexesAsyncFunctiontable, options
initAsyncFunctionoptions
insertAsyncFunctiontable, fields, options
queryAsyncFunction...args
queryAllFunctiontable, options
queryByIdAsyncFunctiontable, id, options
queryByKeyValueAsyncFunctiontable, key, value, options
queryOneAsyncFunction...args
rawAssembleKeyValueFunctionkey, value, options
rawExecuteAsyncFunction...args
rawQueryAsyncFunction...args
tablesAsyncFunctionoptions
updateByIdAsyncFunctiontable, id, fields, options
updateByKeyValueAsyncFunctiontable, key, value, fields, options
upsertFunctiontable, fields, options
vacuumAsyncFunctiontable, options

email

symboltypeparams / value
_NEEDArrayform-data,mailgun.js,mailparser,node-mailjet
defaultAsyncFunctionoptions
getSenderNameFunction
initAsyncFunctionoptions
parseAsyncFunctioninput, options
rawSendAsyncFunctiondata
sendAsyncFunctionemail, subject, text, html, args, options

encryption

symboltypeparams / value
_NEEDArraygoogle-gax
aesCreateIvFunctionoptions
aesCreateKeyFunctionoptions
aesDecryptFunctionany, options
aesEncryptFunctionany, options
defaultAlgorithmStringsha256
defaultEncryptionStringaes-256-gcm
digestObjectFunctionobject, algorithm
getGoogleAuthByCredentialsAsyncFunctionkeyFilename
getGoogleAuthTokenByAuthAsyncFunctionauth
getSortedQueryStringFunctionobj
hashFunctionstring, algorithm
hashFileFunctionfilename, algorithm
hexToBigIntFunctionhex
md5Functionstring
randomFunctionsize, callback
randomStringFunctionlength, encoding
sha256Functionstring, algorithm
sha256FileFunctionfilename, algorithm
uniqueStringFunctionany

event

symboltypeparams / value
defaultAsyncFunctionfunc, interval, tout, delay, name, options
bulkAsyncFunctionabsDir, options
endAsyncFunctionname
listFunction
loadAsyncFunctionmodule, options
loopAsyncFunctionfunc, interval, tout, delay, name, options

horizon

symboltypeparams / value
defaultObject{}

media

symboltypeparams / value
_NEEDArrayfluent-ffmpeg,@ffmpeg-installer/ffmpeg,@ffprobe-installer/ffprobe
convertAudioTo16kNanoOpusOggFunctioninput, options
convertAudioTo16kNanoPcmWaveFunctioninput, options
createWavHeaderFunctiondataSize, sampleRate, numChannels, bitsPerSample
getFfmpegAsyncFunctionoptions
packPcmToWavAsyncFunctionaudio, options

memory

symboltypeparams / value
delAsyncFunctionkey, options
getAsyncFunctionkey, options
initAsyncFunction
setAsyncFunctionkey, value, options

network

symboltypeparams / value
_NEEDArrayfast-geoip,ping
cfTunnelAsyncFunctiontoken, options
getCurrentPositionAsyncFunction
httpingAsyncFunctionurl, options
isLocalhostFunctionhost
pickFastestHostAsyncFunctionhosts, options
pickFastestHttpServerAsyncFunctionurls, options
pingAsyncFunctionhost, options

rag

symboltypeparams / value
_NEEDArrayopenai,@google-cloud/discoveryengine
embedAsyncFunctioninput, options
initEmbeddingAsyncFunctionoptions
initRerankerAsyncFunctionoptions
rerankAsyncFunctionquery, records, options

sentinel

symboltypeparams / value
_NEEDArray@sentry/node,@sentry/profiling-node
defaultAsyncFunctionoptions
initAsyncFunctionoptions

shell

symboltypeparams / value
defaultAsyncFunctioncommand, options
assertExistAsyncFunctionbin, er, code
execAsyncFunctioncommand, options
existFunctionbin
whichAsyncFunctionbin

sms

symboltypeparams / value
_NEEDArraytwilio,telesignsdk
defaultAsyncFunctionoptions
initAsyncFunctionoptions
sendAsyncFunctionto, body

speech

symboltypeparams / value
_NEEDArraywhisper-node
checkSayAsyncFunction
checkWhisperAsyncFunction
sttAsyncFunctionaudio, options
sttWhisperAsyncFunctionaudio, options
ttsAsyncFunctiontext, options
ttsSayAsyncFunctiontext, options

ssl

symboltypeparams / value
_NEEDArrayacme-client
defaultAsyncFunctiondomain, options
SSL_RESETStringSSL_RESET
createCsrAsyncFunctioncommonName, forge
ensureCertAsyncFunctiondomain, challengeCreate, challengeRemove, options
getCertAsyncFunctionname
httpsServerOptionsAsyncFunctionoptions
initAsyncFunctiondomain, options
isLocalhostFunctionhost

storage

symboltypeparams / value
_NEEDArrayfile-type,mime-types,@google-cloud/storage
BASE64StringBASE64
BUFFERStringBUFFER
DATAURLStringDATAURL
FILEStringFILE
MIME_AACStringaudio/aac
MIME_AVIStringvideo/avi
MIME_BINARYStringapplication/octet-stream
MIME_FLACStringaudio/flac
MIME_FLVStringvideo/x-flv
MIME_GIFStringimage/gif
MIME_JPEGStringimage/jpeg
MIME_JSONStringapplication/json
MIME_M4AStringaudio/m4a
MIME_MOVStringvideo/mov
MIME_MP3Stringaudio/mp3
MIME_MP4Stringvideo/mp4
MIME_MPEGStringvideo/mpeg
MIME_MPEGAStringaudio/mpeg
MIME_MPEGPSStringvideo/mpegps
MIME_MPGStringvideo/mpg
MIME_MPGAStringaudio/mpga
MIME_OGGStringaudio/ogg
MIME_OPUSStringaudio/opus
MIME_PCMStringaudio/pcm
MIME_PCM16Stringaudio/x-wav
MIME_PDFStringapplication/pdf
MIME_PNGStringimage/png
MIME_TEXTStringtext/plain
MIME_TGPPStringvideo/3gpp
MIME_WAVStringaudio/wav
MIME_WEBMStringaudio/webm
MIME_WEBPStringimage/webp
MIME_WMVStringvideo/wmv
STREAMStringSTREAM
analyzeFileAsyncFunctionany, options
assertPathAsyncFunctionpath, type, mode, msg, code, options
blobToBufferAsyncFunction
convertAsyncFunctionany, options
decodeBase64DataURLFunction
deleteFileOnCloudAsyncFunctionpath, options
deleteOnCloudAsyncFunctionpath, options
downloadFileFromCloudAsyncFunctionpath, options
downloadFromCloudAsyncFunctionpath, options
encodeBase64DataURLAsyncFunctionmime, buffer
existsAsyncFunctionfilename
existsOnCloudAsyncFunctiondestination, options
formatDataURLFunctionmt, b64
getConfigAsyncFunctionoptions
getConfigFilenameAsyncFunctionoptions
getGcUrlByBucketFunctionbucke
getIdByGsFunctiongs
getImageSizeFunctionbuf
getMimeAsyncFunctionbuf, filename
getTempPathFunctionoptions
handleErrorFunctionerr, opts
initAsyncFunctionoptions
isTextFileAsyncFunctionfile, options
legalFilenameFunctionfilename
lsOnCloudAsyncFunctionprefix, options
mapFilenameFunction
mergeFileAsyncFunctiondata, options
readFileAsyncFunctionname, options
readJsonAsyncFunctionfilename, options
sanitizeFilenameFunctions, r
setConfigAsyncFunctiondata, options
sliceFileAsyncFunctionany, options
touchPathAsyncFunctionpath, options
tryRmAsyncFunctionpath, options
unzipAsyncFunctionany, options
uploadToCloudAsyncFunctiondata, options
writeFileAsyncFunctionfilename, data, options
writeJsonAsyncFunctionfilename, data, options
writeTempFileAsyncFunctiondata, options
zipAsyncFunctionany, options

style

symboltypeparams / value
defaultObject{"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":[]}
module.exportsObject{"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":[]}

tape

symboltypeparams / value
defaultAsyncFunctionoptions
addChatIdFunctionid
endAsyncFunction
initAsyncFunctionoptions
removeChatIdFunctionid

uoid

symboltypeparams / value
defaultFunctionoptions
bigIntToUuidFunction
compactUuidFunctionstr
createFunctionoptions
expandUuidFunction
fakeUuidFunctionany
getRfcUrlNamespaceUuidFunctionurl
getTimestampFromUuidFunctionuuid
getUuidForCurrentHostFunctionany
rotateUuidFunctionany, step, options
uuidRegTxtString[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}
uuidToBigIntFunctionstr

utilitas

symboltypeparams / value
__Functionurl, r
analyzeModuleFunctionobj
arrayEqualFunctionarrA, arrB
assembleApiUrlFunctionhst, path, args
assembleBufferFunction
assembleUrlFunctionurl, componens
assertArrayFunctionarr, message, status, opts
assertBufferFunctionbuffer, message, status, options
assertDateFunctiontime, message, status, options
assertEmailFunctionemail, message, status, options
assertFunctionFunctionfn, message, status, opts
assertModuleFunctionmdl, message, status, opts
assertObjectFunctionobj, message, status, opts
assertSetFunctionvalue, message, status, options
assertUrlFunctionurl, message, status, options
assertUuidFunctionuuid, message, status, options
asyncTimeoutAsyncFunctionpms, timeout, err
base64DecodeFunctionstring, toBuf
base64EncodeFunctionobject, isBuf
base64PackFunctionobject
base64UnpackFunctionstring
basenameFunction
byteToHexStringFunctionbyteArray
callFunctionf, ...a
checkChanceFunction
checkIntervalFunctionitv, sed
clarifyFunction
cloneFunctionany
convertBaseFunctionipt, from, to
convertFrom16to10Functionipt
countKeysFunctionany
deepCleanBigIntFunctionany, func
distillFunctionany, strict
ensureArrayFunctionany
ensureDateFunctiondt, options
ensureIntFunctionany, options
ensureLinesFunctionany, op
ensureStringFunctionstr, options
escapeHtmlFunction
excludeFunctionobj, keys
extErrorFunctionerr, status, opt
extractFunction...path
fileURLToPathFunctionpath, options
fullLengthLogFunctionstring, options
getDateByUnixTimestampFunctiontimestamp
getFuncParamsFunctionfunc
getItemFromStringOrArrayFunctionany
getKeyByValueFunctionobject, value
getRandomIndexInArrayFunctionarray, options
getRandomIntFunction
getRandomItemInArrayFunctionarray, options
getShortestInArrayFunctionarr
getTimeIconFunctionobjTime
getTypeFunctionany
getUnixTimestampByDateFunctiondate
hexDecodeFunctionstring, toBuf
hexEncodeFunctionobject, isBuf
humanReadableBooleanFunctionensureString(any
ignoreErrFuncAsyncFunctionfunc, options
inBrowserFunction
insensitiveCompareFunctionstrA, strB, options
insensitiveHasFunctionlist, srt, options
isFunctiontype, any
isAsciiFunctionstr
isModuleFunctionmodule, module
isNullFunctionobject, object
isSetFunctiono, strict
isUndefinedFunctionany, any
lastItemFunctionarray
lineSplitFunctionstring, options
locateAsyncFunctionrootPack
lockAsyncFunctionkey, options
logFunctioncontent, filename, options
makeStringByLengthFunctionstring, length
mapKeysFunctionany, map, strict, path
maskFunctionstr, options
matchVersionFunctioncurVer, tgtVer
mergeAtoBFunctionobjA, objB, o
needAsyncFunctionname, options
newErrorFunctionmsg, status, opt
onceFunctionfn, context
parseJsonFunctionany, fallback, options
parseVersionFunctionverstr
prettyJsonFunctionobject, opt
purgeEmojiFunctionany, replace
randomArrayFunctionarray
rangeFunctionfrom, to, options
renderBoxFunctioncontent, options
renderCodeFunctioncode, options
renderObjectFunctionobj, options
renderTextFunctiontext, options
resolveAsyncFunctionasync, res
reverseKeyValuesFunction
rotateFunctionany, step, opts
shiftTimeFunctiondif, base
splitFunctionstr, options
splitArgsFunction
supportAnsiColorFunction
throwErrorFunctionmsg, status, opt
timeoutFunction
toExponentialFunctionx, f
toStringFunctionany, options
trimFunctionstr, opts
tryUntilAsyncFunctionfnTry, options
uniqueArrayFunctionarray
unlockFunctionkey
uptimeFunction
verifyEmailFunctionany
verifyPhoneFunctionphone
verifyUrlFunctionurl
verifyUuidFunctionuuid
voidFuncFunction
whichAsyncFunctionany

vision

symboltypeparams / value
_NEEDArrayoffice-text-extractor,pdfjs-dist,pdf-lib,tesseract.js
defaultAsyncFunctionoptions
getPdfInfoAsyncFunctionfile, options
getPdfPageAsyncFunctiondoc, pages
initAsyncFunctionoptions
ocrAsyncFunctionfile, options
ocrImageAsyncFunctionimage, options
parseOfficeFileAsyncFunctionsource, options
splitPdfAsyncFunctionfile, options

web

symboltypeparams / value
_NEEDArrayjsdom,youtube-transcript,@mozilla/readability
defaultAsyncFunctionurl, options
assertYoutubeUrlFunction
checkSearchFunction
checkVersionAsyncFunctionpack
distillAsyncFunctionurl, options
distillHtmlAsyncFunctioninput, options
distillPageAsyncFunctionurl, op
distillYoutubeAsyncFunction
getAsyncFunctionurl, options
getCurrentIpAsyncFunctionoptions
getCurrentPositionAsyncFunction
getExchangeRateAsyncFunctionto, from, amount
getJsonAsyncFunctionu, o
getOpenRouterModelsAsyncFunction
getParsedHtmlAsyncFunctionu, o
getVersionOnNpmAsyncFunctionpackName
getYoutubeMetadataAsyncFunction
getYoutubeTranscriptAsyncFunction
initDistillAsyncFunctionoptions
initSearchAsyncFunctionoptions
isYoutubeUrlFunction
searchAsyncFunctionquery, options

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts