When comparing Crafty.js vs Ebitengine, the Slant community recommends Crafty.js for most people. In the question“What are the best 2D game engines?” Crafty.js is ranked 37th while Ebitengine is ranked 59th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Javascript
Pro Eventbinding
Easy to learn, based on Entities and Components, the later being class-like objects that entities inherit.
Pro Modular
Has open function binding systems, allowing easy creation of custom components.
Pro Simple
One of the core focuses of Ebitengine is to be simple. The screen is just treated as another image that can be drawn to.
Pro Cross platform
Many platforms are supported, including WebAssembly.
Cons
Con No IDE
If you like having some huge GUI akin to Gamemaker, Unreal, Unity, etc, Crafty is not for you.
Con Bare-bones
For example, Ebitengine does not have a physics engine; instead games must rely on a separate implementation such as Chipmunk2D.