Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmurray committed Dec 21, 2022
1 parent 16d2752 commit bc6fafe
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# Mantissa

Mathematical functions.
TypeScript library of pure mathematical utility functions.

## Install

```console
yarn add mantissa
```

Or

```console
npm i mantissa
```

## Usage

```ts
import { vec2, vec2Add } from 'mantissa';

const a = vec2(1, 2);
const b = vec2(3, 4);
const c = vec2Add(a, b);
```

0 comments on commit bc6fafe

Please sign in to comment.