A library to declaratively define, build and execute behaviour trees, written in TypeScript for Node and browsers