0.1.0 • Published 11 years ago

pangunode v0.1.0

Weekly downloads
41
License
MIT
Repository
github
Last release
11 years ago

pangu.node Build Status

Spacing texts in Node.js!

DEMO in browser

The algorithm is from paranoid-auto-spacing

Getting Started

Install the module with: npm install --save pangunode

var pangunode = require('pangunode');

pangunode('應該nothing happen');
// => 應該 nothing happen

pangunode('u請問Jackie的鼻子有幾個S');
// => u 請問 Jackie 的鼻子有幾個 S

License

Copyright (c) 2014 Huei Tan. Licensed under the MIT license.