When comparing Crafty.js vs Melharfi, 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 Melharfi is ranked 108th.
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 Mouse events built-in
All objects/graphics have a mouse events like MouseClic MouseDoubleClic MouseDown MouseUp MouseOver MouseMove MouseOut
Pro Network support
Lidgren Network Library
Pro Path finder built-in
Uses the A* algorithm or pathfinding
Pro GUI
It use a GDI to draw on windows forms. You can use all windows self GUI (controls) for your game like TextBox, Button Label ..., you don't need to install a third party or use an ugly controls.
Cons
Con No IDE
If you like having some huge GUI akin to Gamemaker, Unreal, Unity, etc, Crafty is not for you.
