1.0.8 • Published 7 years ago

unbreaker v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

unbreaker

NPM Build Status Coverage Status

Create line unbreakable character sequence from breakable strings.

Features

  • 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

Install

npm install unbreaker

Example

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...

CLI

You can use cli.

$ unbreaker '(*´ω`*)' あいうえお
(*⁠´ω⁠`⁠*)
あ⁠い⁠う⁠え⁠お

Screenshot

unbreaker-demo

Related

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago