
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
![]()
2 Manta feita con anacos de tea de diversas e diferentes cores.
Colocou unha farrapa aos pés da cama.
Small utils that bring great satisfactions
farrapa packages just bring some low level, not crucial but usual tools you may need.
At least we need them!
Tools are split in different import paths. So your bundle size won't be affected.
For example:
import {collTotalBy} from 'farrapa/collections'
const people= [
{'name': 'Peter', 'age': 27},
{'name': 'Lillah', 'age': 32},
{'name': 'Freddie', 'age': 41},
]
const total = colLTotalBy(people, 'age')
// 100
isTooDark(hexColor): Returns true for dark colors.shadeColor(hexColor, percent)blendColors(hexColor1, hexColor2, percent)hslToHex(h, s, l)randomHex()asDecimal(n, d)asPrice(n)asPriceWithCurrency(n)parseNum(n)uvl(value, defValue)isValidId(id)isValidEmail(email)isValidHostnameOrIp(address)isValidURL(address)collMatches(coll, params)collSort(coll, by, order)collMaxBy(coll, fld)collTotalBy(arr, field)b64toBlob(b64Data, contentType = '', sliceSize = 512)uint8arrayToBase64(bytes)arrayBufferToBase64(arrayBuffer)b64Size(base64)range(f, t)memoize(target, key, descriptor)isEmptyObject(o)objFilter(obj, func)objClone (obj)objAreEqual (obj1, obj2, ...objN)After import * from "farrapa-pretty-console", console output will be colored like:
console.silly : magentaconsole.debug : cyanconsole.verbose : blueconsole.info : whiteconsole.warn : yellowconsole.error : redColors are taken from tinguir.
sleep(ms)lpad(n, width, z)ltrim(s)slugify(str)hashFromString(s)toTitleCase(str)queryStringToJson(url)FAQs
diverse utils used by afialapis
We found that farrapa demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.