fregante


Federico Brigante
  • Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input

    published 10.0.0 5 months 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.2.0 4 months ago
  • Micro module to get the color of a single pixel on a HTML canvas

    published 2.0.1 4 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 a month ago
  • Opinionated ES6 library bundler based on rollup and buble

    published 8.1.0 7 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 6 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 8 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 7 years ago
  • (Deprecated) Build a query string from key-value pairs

    published 2.0.0 8 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 5 years ago
  • Add/remove DOM events

    published 4.0.0 3 months ago
  • Extra lightweight DOM selector helper

    published 9.0.0 6 months ago
  • Paint video on canvas. Extra light.

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

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

    published 7.0.1 4 years ago
  • A more reliable visibilitychange event that works in more mobile WebViews

    published 2.0.3 7 years ago
show more packages