@node-novel/layout
TypeScript icon, indicating that this package has built-in type declarations

2.0.24 • Public • Published

README

node-novel core module

yarn add @node-novel/layout

demo

import textLayout from '@node-novel/layout';

let old_text = '';

let options: ITextLayoutOptions = {
	allow_lf2: false,
	allow_lf3: false,
};

let new_text = textLayout.textlayout(old_text, options);

new_text = textLayout.replace(new_text, {
	words: true,
});

Package Sidebar

Install

npm i @node-novel/layout

Weekly Downloads

10

Version

2.0.24

License

ISC

Unpacked Size

61 kB

Total Files

15

Last publish

Collaborators

  • bluelovers