Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@technobuddha/library

technobuddha1.6kMIT2.0.3TypeScript support: included

A large library of useful functions

addTime, angleBetweenPoints, angleDifference, angleOfLine, angleReflection, approximatelyEquals, area, beginningOfDay, beginningOfMonth, beginningOfWeek, beginningOfYear, binaryUnits, bounds, build, camelCase, capitalize, cardinal, ceil, centroid, ch, changed, chop, clamp, clean, cleanEnd, cleanStart, clear, collapse, collapseBreakingSpace, collapseWhitespace, compare, compareNumbers, compareStrings, conjoin, constructNumber, convexHull, correctMSWord, count, Crc32, create2dArray, crossProduct, dataURL, dayOfWeek, dayOfYear, daysInMonth, decodeBase64, decodeBase64Url, decodeBinary, decodeText, deconstructNumber, deepEquals, delimited, deromanize, diceCoefficient, dotCase, duration, edgeAngles, encodeBase64, encodeBase64Url, encodeBinary, encodeText, endOfDay, endOfMonth, endOfWeek, endOfYear, ensurePrefix, ensureSuffix, escapeC, escapeGraphQL, escapeHTML, escapeJava, escapeJS, escapePython, extractDigits, fillTemplate, floor, formatDate, formatNumber, fraction, fuzzyMatch, getIndent, graphQL, groupCode, HashBase, humanCase, indefiniteArticle, indent, initials, int32, isAlpha, isAlphaNumeric, isArrayLike, isBoolean, isCartesian, isClosed, isDate, isDomain, isEmail, isEven, isFunction, isInPolygon, isIntersecting, isIPV4, isIPV4Local, isISODate, isIterable, isIterator, isLeapYear, isLeftOfLine, isLowerCase, isMidnight, isMultipleOf, isNegativeZero, isNumber, isNumeric, isObject, isOdd, isOnLine, isOnPolygon, isoWeekOfYear, isoWeeksInYear, isPolar, isPolygon, isPrimitive, isPunctuation, isRect, isRegExp, isRightOfLine, isSameDay, isSameMonth, isSameWeek, isSameYear, isString, isSurrogate, isUpperCase, isValidDate, isWhitespace, JSONMap, JSONSet, julian, kebabCase, largestInscribedRectangle, lerp, levenshteinDistance, lineIntersection, lineLength, longestCommonSubsequence, longestCommonSubstring, lookAhead, macroCase, maj, manhattanDistance, mask, matchCase, matches, mean, median, MersenneTwister, metricUnits, midpoint, mode, modulo, normalizeAngle, normalizeBinary, normalizeLineSegment, numberToLetter, occurrenceInMonth, orderOfMagnitude, ordinal, pad, parseDate, pascalCase, perimeter, plural, polygonSides, possessive, PriorityQueue, quote, randomDraw, randomPick, randomShuffle, randomWeightedPick, re, readability, regularPolygon, relativeTime, removeDiacritics, replacer, reviver, romanize, root, rotate, rotl, rotr, round, sameValue, scale, Sha1, Sha224, Sha256, Sha384, Sha512, ShaBase, shallowEquals, singleLine, snakeCase, sortKeys, sortOrder, splitChars, splitLines, splitSentences, splitWords, standardDeviation, star, startCase, strip, sum, summarize, syllables, tag, TimeSpan, timezone, titleCase, toAngle, toArray, toASCII, toBoolean, toCartesian, toClosed, toDate, toDegrees, toEnumeration, toError, toFilename, toInteger, tokenize, toLineSegment, toNumber, toPolar, toPolygon, toPrimitive, toRadians, toSquare, toString, translate, uncapitalize, unescapeC, unescapeHTML, unescapeJava, unescapeJS, unescapePython, unicodeLength, unindent, unquote, variance, wordwrap, zipperMerge

readme