1.0.8 • Published 8 years ago

unbreaker v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago