get-single-axis-scale-from-info
Calculate the size and position of scaling on a single axis from anywhere on that axis. This works for any system that calculates from the top or left, like the browser dom!
Calculate the size and position of scaling on a single axis from anywhere on that axis. This works for any system that calculates from the top or left, like the browser dom!
Let you build a table with a fixed header and fixed left column.
word-wraps and lays out text glyphs - fork of layout-bmfont-text
Linear-time Partitioning. Runtime: O(n). Chooses a pivot and re-arrages the array so that everything on the left is <= pivot and everything on the right is > pivot
Sorting by insertion - Look for bigger numbers on the left side. Runtime: O(n^2). It starts from the 2nd element, and it tries to find any element (to the left) that could be bigger than the current index. It will move all the elements that are bigger and
Is your string left padded?
word-wraps and lays out text glyphs - without unsafe eval
Computational effects - sum types
String left pad
Simply flexable trbla layout for wsui.
Simple function that adds padding to a given string.
Pad left, right or both (to your heart's content)
An npm that adds empty spaces to the left or right side of a string.
Inquiry is an expressive API that allows one ask multiple questions about a subject value, and observe all results. This process returns a collection of all passes, fails, and the original subject value.
return [left, top] from an element
Fastest pad left implementation, 2 millions ops in 48ms.
Return leftmost part of string.
Return leftmost part of string.
Repeat the given string n times. Fastest implementation for repeating a string.
Repeat the given string n times. Fastest implementation for repeating a string.