Skip to content

Script to decode & print source code from a TypeScript Playground URL.

License

Notifications You must be signed in to change notification settings

mkantor/code-from-ts-playground-url

Repository files navigation

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.

About

Script to decode & print source code from a TypeScript Playground URL.

Resources

License

Stars

Watchers

Forks