Novelty Promotes Magicians

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

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

    Install

    npm i @node-novel/layout

    DownloadsWeekly Downloads

    6

    Version

    2.0.20

    License

    ISC

    Unpacked Size

    59 kB

    Total Files

    15

    Last publish

    Collaborators

    • bluelovers