Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

littlejsengine

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

littlejsengine

LittleJS - Tiny and Fast HTML5 Game Engine

latest
Source
npmnpm
Version
1.18.0
Version published
Weekly downloads
316
-5.11%
Maintainers
1
Weekly downloads
 
Created
Source

LittleJS - The Tiny Fast JavaScript Game Engine

LittleJS Logo

NPM Package Build Size NPM Downloads DeepScan Discord

🚂 All Aboard!

LittleJS is a fast, lightweight, and fully open source HTML5 game engine designed for simplicity and performance. Its small footprint is packed with a comprehensive feature set including rendering, physics, particles, sound, and input handling. The code is very clean and well documented with many examples to get you started quickly.

LittleJS Screenshot

LittleJS Features

✨ Graphics

  • Super fast WebGL2 + Canvas2D hybrid rendering system
  • Apply Shadertoy style shaders for post-processing effects
  • Robust particle effect system and effect design tool

🔊 Audio

  • Sound and music with mp3, ogg, or wave files
  • Use ZzFX sound effect generator to play sounds without asset files

🎮 Input

  • Comprehensive input handling for mouse, keyboard, gamepad, and touch
  • Customizable on screen gamepad designed for mobile devices

💥 Physics

  • Robust arcade physics system with collision handling
  • Fast tilemap collision and raycasting
  • Full Box2D integration for realistic physics

🚀 Flexibility

  • Compatible with all modern web browsers and mobile devices
  • TypeScript and Module support with example projects for both
  • Great for size coding competitions like Js13kGames
  • Open Source and MIT licensed

🛠️ Developer Tools

  • Live example browser with code editor
  • Debug overlay and primitive rendering system
  • Medal tracking system with Newgrounds support
  • Node.js build system

How To Use LittleJS

To get started download the latest LittleJS package from GitHub or install via npm: npm install littlejsengine

Examples

LittleJS comes with a several demos both for learning and using as starter projects to create new games.

Builds

FileModeModuleUse case
littlejs.jsDebugNoDebug mode with asserts
littlejs.release.jsReleaseNoOptimized for release
littlejs.min.jsReleaseNoOptimized for release and minified
littlejs.esm.jsDebugESMDebug mode with asserts
littlejs.esm.min.jsReleaseESMOptimized for release and minified

Games Made With LittleJS

Here are a few of the many amazing games created with LittleJS...

LittleJS Screenshot

LittleJS Logo

Keywords

LittleJS

FAQs

Package last updated on 29 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts