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

@makefully/platypus

v4.1.11

Published

2D tile-based HTML5 game engine with a component-based entity model

Readme

Platypus

2D tile based game framework in HTML5

The Platypus Engine allows rapid development of 2D orthogonal tile based games for deployment in HTML5 compatible browsers. The engine uses a component based model, and includes many ready to use components to allow users to start adding assets and editing levels right away. The component based model lends itself to community members adding new functionality, we hope you'll share what you've done!

Platypus uses:

Install

npm install @makefully/platypus

The npm package ships src/ for import (your bundler compiles it, same as linking the repo) and a UMD build in lib/platypus.js for require or script tags. Your game must also install peer dependencies:

| Package | Notes | |---------|--------| | pixi.js (^8.1.5) | Rendering | | springroll (^2.6.0) | Application shell | | @tweenjs/tween.js | Tweens | | @pixi/sound | Audio (Makefully fork; see package.json) | | @esotericsoftware/spine-pixi-v8 | Spine animations (RenderSpine) | | pako | Compression helpers where used |

Optional: box2d3-wasm, jsmediatags, poly-decomp (see optionalDependencies in package.json).

Entry points: src/index.js via import platypus from '@makefully/platypus', or lib/platypus.js for require/script tags (plus worker chunks in lib/ for the UMD build).

Bundlers should use the import entry (source). The prebuilt UMD omits Platypus's pixi.js sub-imports from your module graph, which can cause a Pixi collectRenderablesMixin crash on masked sprites unless you add import 'pixi.js' before Platypus.

Include the engine stylesheet in your game's CSS (canvas layout, captions, debug overlay):

@import '@makefully/platypus/platypus.css';

Development

Requires Node.js 20+.

npm install
npm run build:release   # production bundle → lib/ (gitignored)
npm run test:run        # unit tests (Vitest)
npm run docs            # API reference → docs/api/ (gitignored)

| Script | Purpose | |--------|---------| | npm start | Webpack dev server (src/, development mode) | | npm run build:debug | Development bundle with source maps | | npm run pack:check | Preview the npm tarball contents | | npm run assess:tiled | TiledLoader vs Tiled spec report (test/tiled/README.md) |

Contributor workflow, API docs publishing, and npm publish are described in docs/README.md.

When package.json version changes on main, .github/workflows/release.yml builds lib/, publishes to npm, and creates a GitHub release from the matching CHANGELOG.md section (skips each step if that version already exists).

Key Features

  • Deploy on any HTML5 platform supported by SpringRoll v2
  • Multi-platform support
  • Automatic scaling
  • Touch and keyboard input
  • Component-based development model
  • Documentation — generated from JSDoc in src/

Platypus in action


Code · Docs · npm · Changelog

Maintained by Derek Detweiler and Todd Lewis (CONTRIBUTORS.md).

Platypus was originally developed by PBS KIDS and Gopherwood Studios. It is free to use (see licenses.txt); assets in the example games are © Gopherwood Studios and/or © PBS KIDS.