Alasql.js is a fast in-memory SQL database for JavaScript that allows users to run SQL queries directly in the browser or Node.js. It supports standard SQL functions and operators, uses compilation and optimization to provide fast performance, and has a small minimized file size of around 100kb. Alasql.js aims to provide an alternative to other SQL libraries by offering full SQL functionality while being faster and more compact.