包详细信息

@financial-times/math

Financial-Times14.8kMIT1.1.1

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

自述文件

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.

更新日志

Changelog

1.1.1 (2023-10-27)

Bug Fixes

1.1.0 (2021-11-24)

Features

  • allow npm 8 in engines config (eeb1cae)