Fabric.js is a JavaScript canvas library that makes it easy to work with HTML5 canvas. It provides an object model on top of the canvas element and allows creating and manipulating canvas objects like rectangles, circles, images and text. The library parses SVG paths and elements and allows rendering them on canvas. It uses prototypal inheritance and has a modular class-based structure.