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.

Voici les versions de ce script où le code a été modifié. Voir toutes les 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