Socket
Socket
Sign inDemoInstall

dentist

Package Overview
Dependencies
0
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dentist

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


Version published
Weekly downloads
5.5K
decreased by-7.54%
Maintainers
2
Install size
6.27 kB
Created
Weekly downloads
 

Readme

Source

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!
*/

Keywords

FAQs

Last updated on 29 Jun 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc