1.0.14 • Published 2 years ago
woobsbox v1.0.14
WoobsBox
Collection of utility classes for TypeScript.
How to Build
To build WoobsBox, follow these steps:
- Make sure you have Node.js installed.
- Clone this repository.
- Navigate to the root directory of the cloned repository in your terminal.
- Run the following command to install dependencies:
pnpm iAfter installing dependencies, run the following command to build the TypeScript code:
pnpm run buildHow to Use
Install using
pnpm i woobsboxTo use WoobsBox in your project, you can import the individual utility functions as needed. For example:
import { setYPositionWithOffset } from "woobsbox";How to Publish to npm
To publish WoobsBox to npm, follow these steps:
- Install pnpm if you do not already have it
npm install -g pnpm- Make sure you have an npm account and you're logged in. If not, create one and log in using:
pnpm login- Run the following command to publish the package to npm:
pnpm run build-and-publish- Your package should now be published to npm and available for others to install.