Playground has an option to strip types only, which removes the types but line and column numbers of everything else remain same.
How can I replicate this behaviour with swc cli or from rust code using swc as library.
Using json file copied from playground doesn't work.
If it's not possible using swc then other recommendations of library or cli program should be fine too.