sirrodgepodge


Roger Beaman

  • Node.js's native 'path' module's 'join' method made isomorphic(/universal) with the bonus of handling arrays

    published version 1.0.6, 9 years ago
  • test if string is valid JSON or not

    published version 1.0.2, 9 years ago
  • utility function to determine the scrollbar width of the current browser, returns zero if running server-side

    published version 1.0.5, 4 years ago
  • Isomorphic fetch with response parsing taken care of for you (based on headers) and response binding built in

    published version 2.2.3, 8 years ago
  • Utility function for converting javascript date object to string in the format 'MM/DD/YY' or 'MM/DD/YYYY'

    published version 1.0.2, 9 years ago
  • Test each property on a javascript object with a test function and run a separate function if that test passes, returns a promise when said function has been run on all properties matching

    published version 1.0.2, 9 years ago
  • dead simple react component + server-side handler for s3 uploading from the front end (can also handle dataURI uploading which is useful for image uploads, can show uploaded image very quickly in UI)

    published version 0.5.10, 8 years ago
  • morgan logging req, res, and body

    published version 2.6.9, 2 years ago
  • utility function for checking that a string is a valid web color

    published version 1.0.1, 8 years ago
  • remove class+method decorators for testing, but keep them in your code!

    published version 1.0.4, 7 years ago
  • the simplest way to run tests against your console/stdout, works in-browser and in Node.js, used to test morgan-body: https://github.com/sirrodgepodge/morgan-body/

    published version 1.0.0, 7 years ago
  • a simply draggable react chart

    published version 0.2.9, 6 years ago