JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
favicons
html
scss
src
test
.babelrc
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
html-compile.js
index.json
index.pug
package-lock.json
package.json

README.md

Build Status Coverage Status

Multiline JavaScript Converter

Description

Multiline JavaScript Converter is a tool to convert strings into JavaScript safe text. It is able to account for new lines, special characters and able to produce multiple string types.

Multiline JavaScript Converter tool

Getting setup

  1. Download repository
  2. Run npm install
  3. Run npm run setup to install dependencies

Run site

npm run serve

Compile JS

Import all components

npm run js:build

Convert to ECMA5 code and minify

npm run js:compile

Full compile

npm run js

Compile CSS

npm run css

Compile HTML

npm run html

Build all

npm run build

Tests

npm run test

Mocha

npm run mocha

JS Hint

npm run jshint

Built with

  • Skeleton - for basic CSS framework
  • Babel - for converting to ECMA5 code for browser
  • clipboard.js - for copying text to clipboard
  • Browserify - for using require feature to enable better modularity of JavaScript
  • PugJS - for HTML templating
  • Mocha - for unit testing

Bugs and suggestions

If you find any bugs or have any suggestions on how to improve Multiline JavaScript Converter please post in the Github issues.