novel-text
Version:
22 lines (14 loc) • 368 B
Markdown
# novel-text
> node-novel core module
`npm install novel-text`
## demo
* [node-novel](https://www.npmjs.com/search?q=node-novel)
```ts
import novelText from 'novel-text';
let new_text = novelText.toStr(text);
new_text = novelText.textlayout(new_text, options);
new_text = novelText.replace(new_text, {
words: true,
});
new_text = novelText.trim(new_text);
```