michaelrhodes


  • A small wrapper around requestAnimationFrame that adds a frame rate constraint.

    published version 1.0.0, 9 years ago
  • A function that, when given a target number and an array of numbers, will return the array value closest to the target.

    published version 2.0.0, 8 years ago
  • draw svg paths onto canvas contexts

    published version 2.0.1, 7 years ago
  • piece-length finds the optimal piece length for a given number of bytes. Optimal for what exactly? BitTorrent. [VuzeWiki](http://wiki.vuze.com/w/Torrent_Piece_Size) and [TorrentFreak](http://torrentfreak.com/how-to-make-the-best-torrents-081121/) have bot

    published version 2.0.1, 5 years ago
  • A through stream that verifies data against a set of SHA1 pieces.

    published version 0.0.1, 11 years ago
  • A module for automatic RSS/Atom feed discovery.

    published version 2.0.0, 6 years ago
  • A cross-browser function for getting and setting the text value of a DOM element.

    published version 0.0.3, 10 years ago
  • Insert a stylesheet <link> into the <head>.

    published version 0.1.0, 10 years ago
  • DOM insertion that respects indentation.

    published version 0.2.3, 10 years ago
  • The dimensions (in millimetres) of each size in the A, B, and C series.

    published version 1.0.0, 10 years ago
  • A function that takes a series of regular expressions and returns them in concatenated form.

    published version 0.0.6, 10 years ago
  • Handle promises with plain old callbacks.

    published version 1.0.1, 10 years ago
  • A command-line version of rework-inherit.

    published version 1.0.0, 10 years ago
  • Parse seconds into years, weeks, days, hours, and/or minutes.

    published version 1.0.0, 10 years ago
  • isomorphic image data extraction

    published version 5.0.0, 4 years ago
  • a simple module that creates a preloaded <img> for a given src

    published version 2.0.0, 8 years ago
  • A browser mixin that makes emitting CustomEvent objects really simple.

    published version 1.1.0, 10 years ago
  • Handle DOMRequest objects with plain old callbacks.

    published version 2.0.0, 10 years ago
  • isomorphic dominant colour/palette extraction

    published version 4.0.2, 5 years ago
  • Mock implementations of DOMRequest and DOMCursor for testing purposes.

    published version 1.0.0, 10 years ago
  • DOMCursor objects as readable streams.

    published version 1.0.1, 10 years ago
  • CustomEvent objects without all the ceremony.

    published version 1.0.0, 10 years ago
  • A little library for doing p2p file transfers over webrtc.

    published version 0.0.6, 10 years ago
  • A command-line utility that spawns web servers to render text files from the working directory.

    published version 1.0.3, 9 years ago
  • A simple module that generates URLs to query the StatCounter Global Stats database.

    published version 1.1.2, 9 years ago
show more packages