@financial-times/math

1.1.1 • Public • Published

math

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

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 and the below function as well as:

  • 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.

@import '@financial-times/math';

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

Licence

This software is published by the Financial Times under the MIT licence.

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/math

Weekly Downloads

3,412

Version

1.1.1

License

MIT

Unpacked Size

17.5 kB

Total Files

12

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson