Skip to main content

deno_letter_spacing

tag Build Status license

Set the horizontal spacing behavior between text characters.

Usage

import space from 'https://deno.land/x/letter_spacing/mod.ts';

space('As much mud in the streets as if the waters had but newly retired from the face of the earth', 1);

Results in:

A s   m u c h   m u d   i n   t h e   s t r e e t s   a s   i f   t h e   w a t e r s   h a d   b u t   n e w l y   r e t i r e d   f r o m   t h e   f a c e   o f   t h e   e a r t h

Example

deno run https://deno.land/x/text_indent/example.ts

License

deno_letter_spacing is released under the MIT License. See the bundled LICENSE file for details.