JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 38
  • Score
    100M100P100Q43260F
  • License MIT

Bionic toggle to enable/disable bionic reading in your blogs

Package Exports

  • bionictoggle
  • bionictoggle/dist/bundle.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bionictoggle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

BionicToggle

BionicToggle is a lightweight, easy-to-use npm package that provides a toggle button for bionic reading. With BionicToggle, users can quickly and easily switch between normal text and bionic text, which is optimized for readability and comprehension. Installation

To install BionicToggle, simply run:

npm install bionictoggle

Usage

To use BionicToggle, you can import the module into your JavaScript file like this:

import BionicToggle from 'bionictoggle';

Instructions

BionicToggle requires 'className' prop to be passed to it which holds the className of the div inside which the blog text is rendered. As of today, BionicToggle supports rendering of p, span tag. Further additions will be done over the period of time.

Contributions

Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.

License

BionicToggle is licensed under the MIT License. See the LICENSE file for more details.