Bug#1141755: ITP: node-dedent -- whitespace‑normalizing utility for multiline strings

Bastien Roucaries <[email protected]> Thu, 09 Jul 2026 20:05:38 +0200
Newsgroups gmane.linux.debian.devel.general
Message-ID <11587235.BaYr0rKQ5T__18615.9018588782$1783620451$gmane$org@debian-ei>
Package: wnpp
Severity: wishlist
Owner: Bastien Roucariès <[email protected]>
X-Debbugs-CC: [email protected]

* Package name    : node-dedent
  Version         : 1.7.2
  Upstream Author : Desmond Brand <[email protected]> (http://desmondbrand.com)
* URL             : https://github.com/dmnd/dedent
* License         : Expat
  Programming Lang: JavaScript
  Description     : whitespace‑normalizing utility for multiline strings

dedent takes any template literal or multiline text and normalizes its left‑margin by removing shared leading whitespace. This makes it ideal for formatting embedded snippets, generating readable help messages, or cleaning up code blocks without manually adjusting spacing. It preserves intentional indentation inside the text while eliminating the accidental indentation caused by nesting code, giving you clean, predictable output every time.

already packaged under jest need to be split
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmpP4tYACgkQADoaLapB
CF+bXw//X+apIcZ7GRdJl4e7ALnXJFPPKfIWEuTsIgk4rsu2YlCn8XJm5LrSqrGK
xxP0yjiqJsIsPMIIpwElhAy60Oj4+CKlxQ1vSAU/bMXrZiYvAQ1JlIzwL/uTWYhe
qxJuhd2qwmgE/ew3sgwAkpNCV+oMi0GBqj131ufRAFYNLYMf+AwdnEWVI6fVC9YA
q2z1OGhCs2Cb0Grnyfw8ZkOLM/+7zjmTBsKB3BmTIe8ZjmebaZRAnRyHZ2/nU4RO
m1ZCzQx6XyE9x+HvdiKRij7fn8sQDIcdy87RnmLyxpLQ1Il2olkGJBuml9+9DsJj
6VfpwdTs+apAGml9I8cHnH6U1/LUKWItX/kJZZy/QLwGgRa1IDNG9Y+IDoK4XSmk
nw8FZKGTN38Ybu7EyhL+bK+yPZMpsPsm0t4fEd1bLNbnnxM30IwipqdLEXe/H71W
FSJRXJqfVoQo37JqcTWlHmXxiA6BYhGMvXg27su6fTaqaWorWgm/SgZrAXQp71Iu
x0HsU6R0DINOWO5w5lk7UFbdPGgukQmi6G8z/7+0cNClYvGCq/uce/2SJwmb2vMa
/8kY4YOTjXQS0oJcTgLYpER2pvcWdKEW/ggzwiqeEsJ9YLOBNr9jcuGZgMprC2Er
sq2dNIglhe/gKXMU+hfTKDE8/Qp3UFSRKpDvNAg6z05fYUTPixs=
=XZWo
-----END PGP SIGNATURE-----