Skip to content

a lightweight library for managing distrubuted hook in your server and client

Notifications You must be signed in to change notification settings

farming-labs/befter

Repository files navigation

Befter

befter is a lightweight library for managing hooks in JavaScript. It allows you to register hooks, invoke them in a sequence, and manage hook updates. You can also set up hooks before or after other hooks to control the execution flow.

Step 1: Install Befter via NPM

To install befter, you'll need to use npm (Node Package Manager), which is typically installed along with Node.js. If you haven't installed Node.js and npm yet, you can do so by downloading and installing the latest version of Node.js from their official website.

Once Node.js and npm are installed, run the following command in your project directory:

Installing using npm

npm install @farming-labs/befter

Using it in your app

import { createBefter } from "@farming-labs/befter"

Go and refer to the Usage section to learn how to use Befter.

About

a lightweight library for managing distrubuted hook in your server and client

Resources

Stars

Watchers

Forks

Packages

No packages published