Mineflayer - Minecraft Multiplayer Bot API

Mineflayer is an open-source node.js project that provides a powerful, stable, and high level JavaScript API for creating Minecraft bots.

Check it out on GitHub.