Search results
143 packages found
Simple and tiny Back To Top button with no dependencies. Hides when on top, scrolls up smoothly when clicked. Works equally great with Vue, React, Angular and without frameworks on Jekyll, Hugo and Hexo
Make sure your React code is compatible with Inferno and Preact.
Updates The String To Remove R (Carriage Return) Just Like The Terminal Would Do.
`addEventListener` that takes options as an object and returns a function to remove the listener.
Wraps synchronous functions with a callback-style API
Simple (2 kb) & Pure javascript achieve click image to return top of website with animation
Returns independent copy of a passed array
maybestack(err) - return stack of error or just return the error object
Stub event for react component.
Small utility to make use of the carriage-return character, e.g. as a progress indicator.
Returns number without the decimal or anything to the right of it. Does not round
Similar to Array.prototype.filter(), except it lets you customize what value to get from the element that passes test
Returns 1 item from array, accessed by its index. Allows negative index
Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'
A feature-rich Result type for TypeScript and JavaScript
Returns multiple items from array, identified by their indexes. Does not modify array
Returns undefined. that's literally it.
Yet another inline switch on npm - call it as a function with a return value
A module thing i geuss?
Returns the passing value as an array.