@exore/utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

Exore utils

A collection of useful utilities that can be used in various parts of the project.

Installation

# With yarn
yarn add @exore/utils

# With npm
npm install @exore/utils

sum

Let's dive into an example of how to use the sum utility function:

// Import the sum function from the @exore/utils package
import { sum } from '@exore/utils';

// Call the sum function with two numbers
const result = sum(2, 3);

// Print the result to the console
console.log(result); // Output: 5

Parameters

The sum function takes two parameters:

  1. a (number): The first number to be added.
  2. b (number): The second number to be added.

Return Value

The sum function returns a number, which is the result of adding the two input numbers together.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @exore/utils

Weekly Downloads

0

Version

0.0.8

License

MIT

Unpacked Size

5.94 kB

Total Files

8

Last publish

Collaborators

  • exore