1.1.0 • Published 1 year ago
@selection01/rs v1.1.0
@selection-rs/selection
Get the text selected by the cursor. Node.js binding of the awesome Selection rust crate.
Installation
npm i @selection-rs/selection
yarn add @selection-rs/selection
pnpm add @selection-rs/selection
Usage
import { getText } from "@selection-rs/selection";
console.log(getText());
Credits
- Original crate: Selection, modified to be used as a Node.js binding.
License
GPLv3