bionic-text

1.0.1 • Public • Published

Bionic Text

A NPM package to convert plain text to highlighted text with artificial fixation points for bionic reading.

Usage/Examples

import { bionicText } from "bionic-text";

const string = "This string has to be highlighted to support bionic reading.";

const bionicReadString = bionicText(string);
console.log(bionicReadString);

Console Output

<strong>Th</strong>is <strong>stri</strong>ng <strong>has</strong> <strong>t</strong>o <strong>be</strong> <strong>high</strong>lighted <strong>t</strong>o <strong>supp</strong>ort <strong>bio</strong>nic <strong>read</strong>ing.

Rendered Output

This string has to be highlighted to support bionic reading.

Package Sidebar

Install

npm i bionic-text

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

12.6 kB

Total Files

4

Last publish

Collaborators

  • siddarth0297