Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madvas/multiline-string-to-javascript-converter
Utility to convert multiline string into javascript variable assignment
https://github.com/madvas/multiline-string-to-javascript-converter
Last synced: about 2 months ago
JSON representation
Utility to convert multiline string into javascript variable assignment
- Host: GitHub
- URL: https://github.com/madvas/multiline-string-to-javascript-converter
- Owner: madvas
- Created: 2015-04-13T04:51:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-13T05:26:15.000Z (over 9 years ago)
- Last Synced: 2024-10-12T20:03:49.469Z (3 months ago)
- Language: ApacheConf
- Homepage: http://madvas.github.io/multiline-string-to-javascript-converter/dist/
- Size: 293 KB
- Stars: 7
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Multiline string to Javascript variable converter
This is small utility to help you to convert multiline string into javascript variable assignment.http://madvas.github.io/multiline-string-to-javascript-converter/dist/
Supported formats:
* String concatination with '+'
* Array joining with `Array.join('')`
* String concatination with backslash \
* Variable concatination with `myVar += 'string'`