UNPKG

@sass-fairy/string

Version:

Provides extended functionality for processing strings in Sass, with interfaces similar to ECMA specifications

41 lines (25 loc) 1.01 kB
# @sass-fairy/string <a href="https://sass-fairy.com/"><img src="https://sass-fairy.com/img/logo.svg" alt="Sass Fairy Logo" width="150" align="right" /></a> [![Release Version](https://img.shields.io/npm/v/@sass-fairy/string.svg)](https://www.npmjs.com/package/@sass-fairy/string) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) Provides extended functionality for processing strings in Sass, with interfaces similar to ECMA specifications. ## Install ### Requires * Dart Sass: `>=1.33.0` Install the package: ```bash npm install @sass-fairy/string ``` Use the package like any other Sass module: ```scss @use '@sass-fairy/string'; ``` Depending on your setup, you may need to configure `node_modules` as include path: ```js const sass = require('sass'); sass.compile(filePath, { loadPaths: ['node_modules'] }); ``` ## Documentation See [sass-fairy.com/api/string](http://sass-fairy.com/api/string) for more information about this package.