@gyugyu/array-map-sass
v0.1.0
Published
Array#map implementation for Dart Sass
Downloads
6
Maintainers
Readme
array-map-sass
Array#map implementation for Dart Sass
Installation
$ npm install @gyugyu/array-map-sass
Example
@use '@gyugyu/array-map-sass' as array-map;
@function foo($str) {
@return $str + '-foo';
}
$foo: meta.get-function('foo');
$array: 'a', 'b', 'c';
$result: array-map.map($array, $foo); // 'a-foo', 'b-foo', 'c-foo'