39.21K
total weekly downloads
22 packages
anchor-scroll
Smooth scrolling for anchor links using scroll-to-element
angle-between-points
given two points, it returns the angle in degrees from one to the other
array-compare
shallow array diff by object equality or id
bare-minimum-carousel
A bare minimum responsive carousel for the browser
bucket-queue
A queue with leaky bucket logic made for promises
copy-canvas
a more symantic way to duplicate an html5 canvas
create-canvas
wrap canvas module so the same code works in node or browser
draw-to-canvas
draw from one canvas to another with some sanity checks
force-canvas
sanity check to get the canvas if input happens to be the context; errors if it can't return a canvas
force-canvas-context
sanity check to get the context if input happens to be the canvas; errors if it can't return a context
get-scale-from-info
Calculate the size and position of scaling (uniformly or not) on multiple axis' from any point. This works well for any system that calculates from the top or left, like your browser's dom!
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!
hash-bank
simple storage for creating and managing object hashes
infinite-canvas
an infinite html5 canvas
is-canvas-context
varify variabe is a canvas context
match-order
for matching the order of one array to another accounting length and content differences
resize-canvas
change dimensions of an html5 canvas element, resizing from a relative position on canvas (center by default) and preserving image data
saffron-stylus
A simple Stylus mixin library for animations and transitions
scroll-to-element
Smooth scrolling to an element via selector or node reference
simple-bundle
Bundle without a task manager
split-props
creates an array of objects reducing property values by index successively
undo-stack
A simple undo/redo library with optional undo chunking (batch undos)