Create line unbreakable character sequence from breakable strings.
- Convert breakable character sequence to unbreakable
- Don't join explicit newline
- Don't destroy combining character sequence like this "ఠ్ఠ"
- Don't destroy emoji character
- Support CLI
- Support reverting to breakable from unbreakable
npm install unbreaker
var unbreaker = require('unbreaker');
[
'This is not breakable.',
'ヽ(=´▽`=)ノ',
'•̀.̫•́✨'
].forEach(function(breakable) {
console.log( unbreaker(breakable) )
});
You can copy and paste the output to TextEdit or html, etc...
You can use cli.
$ unbreaker '(*´ω`*)' あいうえお
(*´ω`*)
あいうえお