Common
Metarhia Common Library 🗜️
Install / Use
/learn @metarhia/CommonREADME
Metarhia Common Library
Installation
$ npm install @metarhia/common
API
- splitAt
- shuffle
- sample
- range
- sequence
- last
- pushSame
- checkLogin
- checkPassword
- checkLoginPassword
- BTree
- cache
- Cache
- falseness
- trueness
- emptiness
- nop
- noop
- once
- unsafeCallback
- safeCallback
- requiredCallback
- onceCallback
- safeFunction
- unsafeFunction
- id
- asyncId
- isScalar
- copy
- clone
- duplicate
- getByPath
- setByPath
- deleteByPath
- merge
- mergeObjects
- Enum
- forwardEvents
- emitter
- EnhancedEmitter
- Flags
- partial
- omap
- compose
- maybe
- zip
- replicate
- zipWith
- curryUntil
- curryN
- curryTwice
- curry
- applyArgs
- either
- restLeft
- mkdirp
- mkdirpPromise
- rmdirp
- rmRecursive
- rmRecursivePromise
- generateKey
- generateGUID
- generateToken
- crcToken
- validateToken
- hash
- validateHash
- generateStorageKey
- idToChunks
- idToPath
- pathToId
- Int64
- Int64.add
- Int64.and
- Int64.cmp
- Int64.div
- Int64.mod
- Int64.mult
- Int64.not
- Int64.one
- Int64.or
- Int64.shiftLeft
- Int64.shiftRight
- Int64.sub
- Int64.xor
- Int64.zero
- Int64.prototype.constructor
- Int64.prototype.add
- Int64.prototype.and
- Int64.prototype.dec
- Int64.prototype.inc
- Int64.prototype.not
- Int64.prototype.or
- Int64.prototype.shiftLeft
- Int64.prototype.shiftRight
- Int64.prototype.shiftRightArithmetic
- Int64.prototype.shiftRightLogical
- Int64.prototype.sub
- Int64.prototype.toInt32
- Int64.prototype.toJSON
- Int64.prototype.toPostgres
- Int64.prototype.toString
- Int64.prototype.toUint32
- Int64.prototype.xor
- Iterator
- Iterator.indices
- Iterator.range
- Iterator.zip
- Iterator.prototype.constructor
- Iterator.prototype.apply
- Iterator.prototype.chain
- Iterator.prototype.chainApply
- Iterator.prototype.collectTo
- Iterator.prototype.collectWith
- Iterator.prototype.count
- Iterator.prototype.each
- Iterator.prototype.enumerate
- Iterator.prototype.every
- Iterator.prototype.filter
- Iterator.prototype.filterMap
- Iterator.prototype.find
- Iterator.prototype.findCompare
- Iterator.prototype.firstNonNullable
- Iterator.prototype.flat
- Iterator.prototype.flatMap
- Iterator.prototype.forEach
- Iterator.prototype.groupBy
- Iterator.prototype.includes
- Iterator.prototype.join
- Iterator.prototype.last
- Iterator.prototype.map
- Iterator.prototype.max
- Iterator.prototype.min
- Iterator.prototype.next
- Iterator.prototype.partition
- Iterator.prototype.reduce
- Iterator.prototype.skip
- Iterator.prototype.skipWhile
- Iterator.prototype.some
- Iterator.prototype.someCount
- Iterator.prototype.take
- Iterator.prototype.takeWhile
- Iterator.prototype.toArray
- Iterator.prototype.toObject
- Iterator.prototype.zip
- iter
- iterEntries
- iterKeys
- iterValues
- cryptoPrefetcher
- random
- cryptoRandom
- methods
- properties
- ipToInt
- localIPs
- parseHost
- override
- mixin
- Pool
- sortComparePriority
- sortCompareDirectories
- sortCompareByName
- MemoryWritable
- subst
- htmlEscape
- fileExt
- removeExt
- spinalToCamel
- escapeRegExp
- newEscapedRegExp
- addTrailingSlash
- stripTrailingSlash
- dirname
- capitalize
- between
- removeBOM
- arrayRegExp
Related Skills
node-connect
341.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.5kCommit, push, and open a PR
