Skip to main content

@tomp/add@0.1.1

latest
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
2 months ago (0.1.1)
function add
add(
a: number,
b: number,
): number

Adds two numbers together

Examples

Example 1

add(1, 2) // 3 add(2, 3) // 5

Parameters

  • The first number
  • The second number

Return Type

The sum of the two numbers

Add Package

deno add @tomp/add

Import symbol

import { add } from "@tomp/add";

Add Package

npx jsr add @tomp/add

Import symbol

import { add } from "@tomp/add";

Add Package

yarn dlx jsr add @tomp/add

Import symbol

import { add } from "@tomp/add";

Add Package

pnpm dlx jsr add @tomp/add

Import symbol

import { add } from "@tomp/add";

Add Package

bunx jsr add @tomp/add

Import symbol

import { add } from "@tomp/add";