case 112023
the brief
sheet 2 of 5The helpers I kept rewriting: chunk an array, shuffle it, a random integer, a sort I could pick.
Put them on the built-ins, test each module with Jest, ship to npm and both CDNs from CI.
the identity
sheet 3 of 5
It adds methods to JavaScript's own built-ins, so it wears JavaScript's colours: the yellow and the black, with doodles chalked over the cover by hand.
the colours
- JavaScript yellow#F0DB4F
- ink#000000
- chalk#FFFFFF
its signature
- HS in the corner of a yellow square
- doodles in white chalk over the cover
the build
sheet 4 of 5from handy.js to handyscript
It started in May 2023 as @handy.js/handy, "a javascript library for dummies". A month later it was renamed and rebuilt as its own organization, with docs, CI and semantic releases.
sorting, by hand
Ten sort algorithms, from bubble to radix and shell, each implemented and tested, and binarySearch takes the one to sort with.
the family
handyutility gathers the helpers that didn't fit, and DHOM binds data to HTML through attributes. Cactusia imported handyscript; leorodney ran on its predecessor.
made with javascript, jest, nuxt (docs)
the verdict
sheet 5 of 5- 2023Versions 1.0 to 1.9, written with @tchisama and @ilorez, and used in my own client work.
- Jun 2023Written up on Medium: “Handy Script — New Javascript Context Programming”.