# @financial-times/math

> A temporary helper library to avoid newer dart-sass versions printing warnings when compiling Origami.

Latest version **1.1.1** (published 2023-10-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @financial-times/math
pnpm add @financial-times/math
yarn add @financial-times/math
bun add @financial-times/math
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2023-10-27 |
| First published | 2021-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 17.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | robertboulton, seraph2000, hamza.samih, notlee, emmalewis, aendra, the-ft, rowanmanning, chee, alexwilson |

## Links

- npm: https://www.npmjs.com/package/@financial-times/math
- Repository: https://github.com/Financial-Times/origami
- Homepage: https://registry.origami.ft.com/components/math
- Issues: https://github.com/Financial-Times/origami/issues/new?labels=math,libraries
- npm.io page: https://npm.io/package/@financial-times/math

## Recent versions

- 1.1.1 (latest) — 2023-10-27
- 1.1.0 — 2021-11-24
- 1.0.0 — 2021-11-08

## README

# math

A temporary helper library to avoid newer dart-sass versions printing warnings when compiling Origami.

- [Usage](#usage)
- [Licence](#licence)

## Usage

To use this library, import it via `@import '@financial-times/math';`.

After importing the library, you will have access to all the functions defined in [mathsass@0.10.1](https://github.com/terkel/mathsass/tree/v0.10.1) and the below function as well as:

- [div](#div) - Returns the result of dividing the first number by the second number.

### div

Returns the result of dividing the first number by the second number.

This behaves in the same way as the deprecated `/` operator in sass.

```scss
@import '@financial-times/math';

@debug div(10, 2); // 5
```

## Licence

This software is published by the Financial Times under the [MIT licence](http://opensource.org/licenses/MIT).

---
_Source: https://npm.io/package/@financial-times/math · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
