https://github.com/aersosi/npm-scss-utils
NPM package containing my SCSS utils
https://github.com/aersosi/npm-scss-utils
decimal npm round sass scss styles test type typecheck types validate
Last synced: 4 months ago
JSON representation
NPM package containing my SCSS utils
- Host: GitHub
- URL: https://github.com/aersosi/npm-scss-utils
- Owner: aersosi
- License: apache-2.0
- Created: 2024-07-25T08:44:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T16:29:53.000Z (almost 2 years ago)
- Last Synced: 2025-10-27T06:26:10.436Z (8 months ago)
- Topics: decimal, npm, round, sass, scss, styles, test, type, typecheck, types, validate
- Language: SCSS
- Homepage: https://github.com/aersosi/npm-scss-utils
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# npm-scss-utils
NPM package containing my SCSS utils
```bash
$ npm i @aersosi/scss-utils
```
```scss
@use '@aersosi/scss-utils' as utils;
$number: 3.123456789px;
$digits: 4;
$mode: ceil;
@debug "is-number: #{utils.is-number($mode, '$mode')}";
@debug "is-unitless-number: #{utils.is-unitless-number($number, '$number')}";
@debug "is-string: #{utils.is-string($digits,'$digits')}";
@debug "decimal-round: #{utils.decimal-round($number, $digits, $mode)}";
```