Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sass-fairy/exception

roydukkey11.5kMIT1.1.1

Provides Sass functions to standardize exception messages and assist with common validation

sass, scss, dart-sass, throw, error, warn

readme

@sass-fairy/exception

Sass Fairy Logo

Release Version License

Provides Sass functions to standardize exception messages and assist with common validation.

Install

Requires

  • Dart Sass: >=1.23.0

Install the package:

npm install @sass-fairy/exception

Use the package like any other Sass module:

@use '@sass-fairy/exception';

Depending on your setup, you may need to configure node_modules as include path:

const sass = require('sass');

sass.compile(filePath, {
  loadPaths: ['node_modules']
});

Documentation

See sass-fairy.com/api/exception for more information about this package.

changelog

Changelog

1.1.1

  • Update deprecated example in README
  • Restructure and improve development underpinnings

1.1.0

  • Add automatic attribution

1.0.2

  • Add logo to README

1.0.1

  • Fix publish strategy and package metadata

1.0.0