How to implement pixel art lighting as in the game Project Eastward?

Project Eastward Lighting Demo

Lighting example 1
Lighting example 2

Can somebody point me to the right direction as to how this lighting is done to recreate this lighting effect?

The game is 2D but uses a 3D lighting system.