v1.0.3 · TypeScript 7 · esbuild
Small helpers.
Small helpers.
Sharp edges removed.
A TypeScript utility library with functional helpers, string tools, array helpers, math helpers and a few classic algorithms — no dependencies.
$ npm install javastips
What's inside
Seven domains, one import.
Functional
javastips.map([1, 2, 3], n => n * 10)
// → [10, 20, 30]
Arrays
javastips.reverse([1, 2, 3, 4])
// → [4, 3, 2, 1]
Strings
javastips.CamelCase('hello world')
// → "helloWorld"
Math
javastips.add(2, 3) + javastips.square(9)
// → 86
Algorithms
javastips.BubbleSort([5, 3, 8, 1])
// → [1, 3, 5, 8]
Types & utils
javastips.Floatify(3.14159, 2)
// → "3.14"
Playground
Try it, right here.
loading dist/javastips.js…
⌘ + ↵ to run · the lib is exposed as javastips