DeindentTemplateLiteralString

Exports a simple function that can be passed a template literal. It strips code indentation from it while preserving intended indentation, by stripping out the smallest indent every line has in common.

These are versions of this script where the code was updated. Show all versions.

  • v1.2 07.10.2024.

    Changed license to Unlicense on all scripts

  • v1.2 01.10.2024. Imported from URL
  • v1.2 01.10.2024.