dedentify
v0.1.0
Published
Remove indentation inside strings.
Downloads
8
Readme
dedentify
Remove indentation inside strings.
Install
$ npm install dedentify
npm
$ npm install dedentify
yarn
$ yarn add dedentify
Github Registry
$ npm install abranhe@dedentify
Usage
const dedentify = require('dedentify');
dedentify`
This
is
Awesome
`;
// => `
// This
// is
// Awesome
// `
API
dedentify(input)
input
Type: string
| TemplateStringsArray
The template string to deindent.
License
MIT © Abraham Hernandez