@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,
});

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @node-novel/layout

    Weekly Downloads

    5

    Version

    2.0.24

    License

    ISC

    Unpacked Size

    61 kB

    Total Files

    15

    Last publish

    Collaborators

    • bluelovers