Provides extended functionality for processing strings in Sass, with interfaces similar to ECMA specifications
npm install @sass-fairy/string

Provides extended functionality for processing strings in Sass, with interfaces similar to ECMA specifications.
* 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']
});
``
See sass-fairy.com/api/string for more information about this package.