espurify is a JavaScript library designed to deeply clone and filter JavaScript Abstract Syntax Trees (ASTs), specifically compliant with the ESTree specification. Often utilized in code transformation tools and testing frameworks, espurify creates sanitized copies of ASTs, isolating them from external modifications. This process is crucial for deterministic testing and debugging of code manipulation processes, as it guarantees the integrity and immutability of AST structures. Utilizing a simple API, it enables creating pristine, context-free AST representations.