Skip to content
View callumlocke's full-sized avatar

Highlights

  • Pro

Block or report callumlocke

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. json-formatter json-formatter Public

    Makes JSON easy to read.

    TypeScript 3.8k 878

  2. plain-jsx plain-jsx Public

    Alternative JSX renderer. Creates plain DOM nodes instead of React objects.

    JavaScript 22 4

  3. ZSH function to auto-switch to corre... ZSH function to auto-switch to correct Node version
    1
    ####
    2
    # ZSH function to auto-switch to correct Node version
    3
    #   https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5
    4
    #
    5
    # - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does.
  4. How to fix a canvas so it will look ... How to fix a canvas so it will look good on retina/high-DPI screens.
    1
    /*
    2
      UPDATED for 2023 - Now much simpler. The old tricks are no longer needed.
    3
    4
      The following code makes an 800×600 canvas that is always as sharp as possible for the device.
    5
  5. esbox esbox Public

    📦 ES.next in a box

    JavaScript 112 2

  6. multiform multiform Public

    Write NPM modules in ES6/7 with multiple builds optimised for different V8 versions

    JavaScript 6