@raphtlw/indoc
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

ABOUT

indoc is a utility for un-indenting string literals.

Table of contents

Usage

import indoc from 'indoc'

indoc`
  This spans
  multiple lines.
`

// Output
// ---
// This spans
// multiple lines.

Contributing

Contributions are always welcome. If you feel inclined to, feel free to submit a pull request.

In addition, you can also contribute by submitting issues. Please describe the issue with enough details and I will solve them as soon as I can.

/@raphtlw/indoc/

    Package Sidebar

    Install

    npm i @raphtlw/indoc

    Weekly Downloads

    2

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    4.42 kB

    Total Files

    6

    Last publish

    Collaborators

    • raphtlw