Fork me on GitHub

Multiline JavaScript Converter

Description

Converts multiline text into a JavaScript multiline string. This includes both concatenated string in ECMA5, template literal in ECMA6 and a JSON Array.

Uses

  • Large Blocks of text
  • ASCII Art
  • HTML Code

Input

Output

Made with...

Babel

Used Babel for converting JS to ECMA5

clipboard.js

Used clipboard.js for handling copying to clipboard

Browserify

Used Browserify for building JavaScript

Mocha

Used Mocha for unit testing code