Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 447 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 447 Bytes

code-from-ts-playground-url

A simple script to decode & print the TypeScript source code from a playground URL.

Usage

npm install --global code-from-ts-playground-url
code-from-ts-playground-url "https://www.typescriptlang.org/play?#code/O4SwdgJg9sB0A2UDGBDALiKZYAsBOApgGYAEAvCQEQ5poAOAzgFwD0LAnlAK5pewBGBFhACKwACzAAnAHUA5gA0kIykA"

Decoded TypeScript will be printed to standard output.