Bbo
bbo is a utility library of zero dependencies for javascript. ๐๐ญ๐
Install / Use
/learn @tnfe/BboREADME

bbo is a utility library of zero dependencies for javascript.
Overview
Every frontend developer has his own utils library, and we often write methods that are easily forgotten and highly used. bbo is a super small and useful utils library for JavaScript. It isn't couping with lodash underscore lazy.js.
I sorted out the most frequently used functions in daily development. These functions are almost ubiquitous in your development, and they cannot be found in lodash and underscore.
Most code comes from the stackOverflow site in the high-score answers, so we pay tribute to the original authors.
With easy code and less than 7k gzip, bbo can be used anytime and anywhere with no worries.
See the latest docs/documentation for a full API reference or bbo-docs.
Why
When you use react, vue, angular๏ผyou often need to write a lot of utils methods. But lodash and underscore libraries are not omnipotent. So you have to find a lot of tool libraries. By using bbo, you can solve many small problems in the daily development. It is simple and compact!
Documentation
Functions
| device | args | http | string | array | | :----------------------------------- | :------------------------------------- | :--------------------------------- | :----------------------------- | :----------------------------------- | | [ua][ua] | [args][args] | [open][open] | [trim][trim] | [unique][unique] | | [isIos][isios] | [noop][noop] | [getUrlParam][geturlparam] | [fillZero][fillzero] | [uniqueBy][uniqueby] | | [isiPhone][isiphone] | [merge][merge] | [setUrlParam][seturlparam] | [longUnique][longunique] | [uniqueFrom][uniquefrom] | | [isIPad][isipad] | [over][over] | [deleteUrlParam][deleteurlparam] | [stripTags][striptags] | [random][random] | | [isAndroid][isandroid] | [call][call] | [objectParam][objectparam] | [capitalize][capitalize] | [randomSize][randomsize] | | [isMobile][ismobile] | [hasOwnProperty][hasownproperty] | [httpGet][httpget] | [deCapitalize][decapitalize] | [shuffle][shuffle] | | [isPC][ispc] | bom | [httpPost][httppost] | [isAbsoluteURL][isabsoluteurl] | [contains][contains] | | [isWeixin][isweixin] | [stopPropagation][stoppropagation] | random | [mapString][mapstring] | [includesAll][includesall] | | [isNewsApp][isnewsapp] | [g][g] | [randomColor][randomcolor] | [mask][mask] | [includesAny][includesany] | | [isQQ][isqq] | [gc][gc] | [randomA2B][randoma2b] | [splitLines][splitlines] | [removeAt][removeat] | | [isQQbrowser][isqqbrowser] | [c][c] | [randomKey][randomkey] | [camelize][camelize] | [remove][remove] | | [isTenvideo][istenvideo] | [query][query] | behavior | [underscored][underscored] | [compact][compact] | | [isWeiShi][isweishi] | [show][show] | [trigger][trigger] | [dasherize][dasherize] | [pluck][pluck] | | [isIphoneXmodel][isiphonexmodel] | [hide][hide] | [lockTouch][locktouch] | [truncate][truncate] | [union][union] | | [isIE][isie] | [elementContains][elementcontains] | [copyToClipboard][copytoclipboard] | [byteSize][bytesize] | [unionBy][unionby] | | [ieVersion][ieversion] | [formToObject][formtoobject] | mlodash | [byteLen][bytelen] | [unionWith][unionwith] | | log | [getStyle][getstyle] | [getTag][gettag] | [repeat][repeat] | [intersect][intersect] | | [log][log] | [setStyle][setstyle] | [is][is] | [endsWith][endswith] | [intersectBy][intersectby] | | [logs][logs] | [attr][attr] | [isObject][isobject] | [startsWith][startswith] | [difference][difference] | | [removeConsole][removeconsole] | load | [isArray][isarray] | [containsWith][containswith] | [differenceBy][differenceby] | | [trash][trash] | [loadImages][loadimages] | [isString][isstring] | [xssFilter][xssfilter] | [max][max] | | other | [loadjs][loadjs] | [isBoolean][isboolean] | [effortIndex][effortindex] | [min][min] | | [uuid][uuid] | [loadcss][loadcss] | [isNumber][isnumber] | [capwords] | [equal][equal] | | [hash][hash] | fill | [isMap][ismap] | object | [allEqual][allequal] | | [judge][judge] | [fill0][fill0] | [isSet][isset] | [properObject][properobject] | [all][all] | | [getType][gettype] | [floor][floor] | [isFunction][isfunction] | [objectDiff][objectdiff] | [any][any] | | [isTypeof][istypeof] | [chainAsync][chainasync] | [isEmpty][isempty] | [addedDiff][addeddiff] | [chunk][chunk] | | [construct][construct] | [numberFormat][numberformat] | [isShallowEqual][isshallowequal] | [deletedDiff][deleteddiff] | [countBy][countby] | | [paramsName][paramsname] | [modulo][modulo] | [has][has] | [detailedDiff][detaileddiff] | [countOccurrences][countoccurrences] | | [eventEmitter][eventemitter] | cookie | [toPath][topath] | [updatedDiff][updateddiff] | [drop][drop] | | times | [cookie][cookie] | [reduce][reduce] | collection | [dropRight][dropright] | | [setTimesout][settimesout] | [setCookie][setcookie] | [forEach][foreach] | [clone][clone] | [dropWhile][dropwhile] | | [clearTimesout][cleartimesout] | [getCookie][getcookie] | [map][map] | [entries][entries] | [dropRightWhile][droprightwhile] | | [getDate][getdate] | [deleteCookie][deletecookie] | [find][find] | [extend][extend] | [column][column] | | [formatPassTime][formatpasstime] | [parseCookie][parsecookie] | [findIndex][findindex] | [flush][flush] | [split][split] | | [formatRemainTime][formatremaintime] | image | [get][get] | [values][values] | [unary][unary] | | [formatDuration][formatduration] | [checkImageSize][checkimagesize] | [set][set] | [size][size] | [indexBy][indexby] | | [sleep][sleep] | [imageOptimization][imageoptimization] | [debounce][debounce] | [search][search] | | | [retry][retry] | [toDataUrl][todataurl] | [throttle][throttle] |
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate 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
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot ๅฏๅชไฝๆถๅ่ฝๅใไฝฟ็จ <qqmedia> ๆ ็ญพ๏ผ็ณป็ปๆ นๆฎๆไปถๆฉๅฑๅ่ชๅจ่ฏๅซ็ฑปๅ๏ผๅพ็/่ฏญ้ณ/่ง้ข/ๆไปถ๏ผใ
