fregante
Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
published 10.0.0 a year agoMicro module to get the scroll position (top or left) in the browser
published 2.0.1 4 years agoMicro module to get the color of a single pixel on a HTML canvas
published 2.0.1 5 years agoSingle, dependency-free function to tween a property. Use that on canvas or anywhere else.
published 1.0.0 9 years agoGet the real size of an <img>, <video>, or <canvas> in the browser.
published 2.0.1 8 years agoReplicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.
published 4.0.0 7 months agoOpinionated ES6 library bundler based on rollup and buble
published 8.1.0 8 years agoPrevent the scroll restoration caused by the popstate event or back/forward buttons.
published 2.0.0 8 years agoPrevent the scroll restoration caused by the popstate event or back/forward buttons.
published 0.6.1 8 years agoMake videos playable inline on the iPhone (prevents automatic fullscreen)
published 2.2.2 7 years agoPolyfill object-fit and object-position on images on IE9, IE10, IE11, Edge, Safari, ...
published 3.2.4 6 years agoGet yourself a light, togglable, namespaced and colored console.log in the browser
published 2.1.0 8 years agoSeamlessly log into Facebook silently, with a popup or with a redirect on unsupported browsers (Chrome/iOS).
published 4.0.0 8 years ago(Deprecated) Build a query string from key-value pairs
published 2.0.0 9 years agoLoad Facebook's SDK and return a Promise. If it's already loading it won't try to load it again.
published 1.2.2 6 years agoLightweight way to generate multiple, random, reversible hashes or encoding
published 1.0.3 9 years agoLoad one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.
published 8.0.0 4 months agoA more reliable visibilitychange event that works in more mobile WebViews
published 2.0.3 7 years ago