05/Open Source / NPM/2025/Open Source
Lightweight Expression Detector
Real-time facial expression detection. Zero dependencies. 109+ weekly NPM installs.

109+
Weekly installs
// Overview
A from-scratch JavaScript package that runs facial expression detection in browser and Node.js with no external deps. Targets builders who want emotion signals without dragging a 50MB ML library along.
// Problem
Existing emotion libraries pull tensorflow.js or face-api as hard deps. Heavy, slow to load, hostile to edge runtimes.
// Approach
01Custom landmark feature pipeline tuned for browser perf.
02Single-file build, tree-shakeable, no peer deps.
03Same API works against an HTMLVideoElement or a raw Buffer in Node.
// Outcome
›109+ weekly downloads on NPM
›Zero-dependency footprint
›Cited as a reference in indie projects
// Stack
JavaScriptTypeScriptComputer Vision
Next case →