Skip to content

herber/untag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

untag Build Status

Normalized template literals

Features

  • Removes empty first and last lines
  • Removes unnecessary indents

Install

$ npm install untag

Usage

const untag = require('untag');

const scope = () => {
  return untag`
  Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  Nulla dolor odio, dignissim id auctor eu, pellentesque eget metus.
  Maecenas nec suscipit neque, ac faucibus nulla.
  Nulla molestie vitae nisi eu pretium.
  `;
};

License

MIT ©

Releases

No releases published

Packages

No packages published