Common JavaScript/TypeScript utilities for Node.js and browser environments.
Core provides a set of reusable utilities to streamline development in JavaScript and TypeScript projects. It is designed to be lightweight, modular, and easy to integrate into any codebase.
Using pnpm:
pnpm add @eoussama/core
Or with npm:
npm install @eoussama/core
Or with yarn:
yarn add @eoussama/core
Import and use the utilities in your project:
// ESM
import { someUtility1 } from "@eoussama/core";
// CommonJS
const { someUtility2 } = require("@eoussama/core");
Refer to the documentation for a full API reference.
pnpm build
– Build the packagepnpm test
– Run tests with coveragepnpm lint
– Lint the codebasepnpm fix
– Lint and auto-fix issuespnpm docs
– Generate documentation