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 all versions of this script. Show only the versions where the code changed.

  • v1.2 2024-10-07

    Changed license to Unlicense on all scripts

  • v1.2 2024-10-01 Imported from URL
  • v1.2 2024-10-01