serialize-typescript
Serializes JavaScript/TypeScript code into a JSON superset with support for modern built-ins like Map, Set, Date, BigInt, and many more. Inspired by serialize-javascript and revived for the modern web. Available for Deno and Node.