Skip to content
/ indoc Public

Indented document literals for JavaScript ✨

License

Notifications You must be signed in to change notification settings

raphtlw/indoc

Repository files navigation

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.

About

Indented document literals for JavaScript ✨

Resources

License

Stars

Watchers

Forks

Packages

No packages published