Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dentist travis-ci codecov.io npm

NodeJS string dedenting module – make your template strings look nice!

Documentation

npm install dentist
import { dedent } from 'dentist';

const str = dedent(`
  Hi, check out the following line:

    it's indented!
  
  Crazy!
`);

/* Now str contains the string without the leading indentation:
Hi, check out the following line:

  it's indented!

Crazy!
*/

About

NodeJS string dedenting module – make your template strings look nice!

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages