dedent
- Version 1.5.1
- Published
- 13.9 kB
- No dependencies
- MIT license
Install
npm i dedent
yarn add dedent
pnpm add dedent
Overview
An ES6 string tag that strips indentation from multi-line strings
Index
Variables
Interfaces
Type Aliases
Variables
variable _default
const _default: { (literals: string): string; (strings: TemplateStringsArray, ...values: unknown[]): string; withOptions(newOptions: DedentOptions): any;};
Interfaces
interface Dedent
interface Dedent {}
property withOptions
withOptions: CreateDedent;
call signature
(literals: string): string;
call signature
(strings: TemplateStringsArray, ...values: unknown[]): string;
interface DedentOptions
interface DedentOptions {}
property escapeSpecialCharacters
escapeSpecialCharacters?: boolean;
Type Aliases
type CreateDedent
type CreateDedent = (options: DedentOptions) => Dedent;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (16)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/dedent
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/dedent)
- HTML<a href="https://www.jsdocs.io/package/dedent"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1984 ms. - Missing or incorrect documentation? Open an issue for this package.