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
- Download repository
- Run
npm install - Run
npm run setupto 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.