npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

isometrizer

v0.0.3

Published

Isometrizer turns your DOM elements into isometric projection

Readme

Isometrizer

Isometrizer turns your DOM elements into isometric projection

MAP DEMO

Introduction

Isometrizer is a Javascript library that has features like

  • 4 projection types combining
    • ISO_VERTICAL or ISO_HORIZONTAL
    • ISO_LEFT or ISO_RIGHT
  • Hierarchical flotation of childs
  • Rotating specific child
  • Side / Top plane drawing

Usage

new Isometrizer(
    el: HTMLElement | string,
    options: {
        spacing: number,
        orientation: number
    }
)
  • el is an DOM element or element query string and options provides configuration.
  • options consists of:
    • spacing: Default spacing for child floatation, in px (default: 40)
    • orientation: Element rotate direction (default: ISO_VERTICAL | ISO_RIGHT)

Methods

Instance of Isometrizer provides 3 methods you can use.

on()

Immediately turns into isometric projection.

off()

Immediately turns into original projection.

progress(props)

Progressively turns into isometric projection.

You can combine other libraries like mojs, or requestAnimationFrame() to animate rotation.

props
  • All following props are from 0(off) to 1(on)
  • normal: rotate direction ISO_HORIZONTAL or ISO_VERTICAL
  • side: rotate direction ISO_LEFT or ISO_RIGHT
  • scale: scales from 1 to sqrt(2)
  • float: floats all childs from 0 to their own spacing
  • childNormal: rotate direction ISO_HORIZONTAL or ISO_VERTICAL of childs
  • childSide: rotate direction ISO_LEFT or ISO_RIGHT of childs

Contributing

Installing

npm install

Running the tests

Linting

npm run lint

Building

npm run build
npm run demo:build