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 ago
  • Upload your Tumblr theme via node or CLI

    published 0.8.1 8 years ago
  • Micro module to get the scroll position (top or left) in the browser

    published 2.0.1 4 years ago
  • Listen to one event via `addEventListener`, then resolve a Promise

    published 4.3.0 a month ago
  • Micro module to get the color of a single pixel on a HTML canvas

    published 2.0.1 5 years ago
  • Single, dependency-free function to tween a property. Use that on canvas or anywhere else.

    published 1.0.0 9 years ago
  • Get the real size of an <img>, <video>, or <canvas> in the browser.

    published 2.0.1 8 years ago
  • Replicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.

    published 4.0.0 7 months ago
  • Opinionated ES6 library bundler based on rollup and buble

    published 8.1.0 8 years ago
  • Prevent the scroll restoration caused by the popstate event or back/forward buttons.

    published 2.0.0 8 years ago
  • Prevent the scroll restoration caused by the popstate event or back/forward buttons.

    published 0.6.1 8 years ago
  • Make videos playable inline on the iPhone (prevents automatic fullscreen)

    published 2.2.2 7 years ago
  • Did you mean Mozilla’s 'web-ext'? https://github.com/mozilla/web-ext

    published 1.0.2 7 years ago
  • Polyfill object-fit and object-position on images on IE9, IE10, IE11, Edge, Safari, ...

    published 3.2.4 6 years ago
  • Load a javascript file and forget about it

    published 1.0.0 9 years ago
  • Get yourself a light, togglable, namespaced and colored console.log in the browser

    published 2.1.0 8 years ago
  • Seamlessly 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 ago
  • Load 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 ago
  • Add/remove DOM events

    published 4.0.0 8 months ago
  • Extra lightweight DOM selector helper

    published 9.0.0 a year ago
  • Paint video on canvas. Extra light.

    published 4.0.3 5 years ago
  • Lightweight way to generate multiple, random, reversible hashes or encoding

    published 1.0.3 9 years ago
  • Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.

    published 8.0.0 4 months ago
  • A more reliable visibilitychange event that works in more mobile WebViews

    published 2.0.3 7 years ago
show more packages