cutagerjs
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

CutagerJS

🙉 What is Cutager ?

Cutager is a shortcuts manager made for Rhyme

📦 Install

yarn add cutagerjs

or

npm install cutagerjs

🤔 How to use

Add an action

import { KeyCombo, Action, CutagerJS } from "cutagerjs";
const cutager = new CutagerJS();
cutager.addAction(new Action("save", new KeyCombo("ctrl+s", "ctrl+shift+s"), save), false); // Note `save` is a pre declared function

Remove an action

cutager.removeAction("save");

Pause

cutager.pause();

Resume

cutager.resume();

Check if paused

cutager.isPaused();

👏 Supporters

Stargazers repo roster for @Rhyme-Player/CutagerJS

Forkers repo roster for @Rhyme-Player/CutagerJS

Readme

Keywords

none

Package Sidebar

Install

npm i cutagerjs

Weekly Downloads

1

Version

1.2.1

License

GPL-3.0-or-later

Unpacked Size

44.7 kB

Total Files

15

Last publish

Collaborators

  • abdallah-moh