@sass-fairy/exception
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-alpha.1 • Public • Published

@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.52.0

Install the package:

npm install @sass-fairy/exception@next

Use the package like any other Sass module:

@use '@sass-fairy/exception';

Configure Sass options to use the functions provided by this package:

const sass = require('sass');
const ExceptionFunctions = require('@sass-fairy/exception');

sass.render({
  file: scss_filename,
  includePaths: ['node_modules'],
  functions: {
    ...ExceptionFunctions
  }
});

Documentation

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

Package Sidebar

Install

Version

2.0.0-alpha.1

License

MIT

Unpacked Size

9.65 kB

Total Files

15

Last publish

Collaborators

  • roydukkey