{"library":"seed-dash","title":"seed-dash - Sass Configuration Utilities","description":"seed-dash is a specialized utility pack designed for the Seed CSS framework, specifically addressing the manipulation of configuration variables within Sass, particularly for lists and maps. It implements a limited set of Underscore/lodash-like methods such as `_get`, `_set`, and `_extend` directly in Sass to facilitate dynamic configuration adjustments. Released at version 0.0.2, the project appears to be unmaintained, with its last known activity several years ago. The project's own documentation recommends `Sass Dash` for a more comprehensive Underscore/lodash-like experience in Sass, indicating that seed-dash is a niche or superseded solution for very specific Seed framework configuration tasks, rather than a general-purpose Sass utility library. It is designed to be integrated into a build pipeline, typically via Node.js tools like Gulp.","language":"javascript","status":"abandoned","last_verified":"Sun Apr 19","install":{"commands":["npm install seed-dash"],"cli":null},"imports":["const pack = require('seed-dash');","@import \"pack/seed-dash/_index\";","@include _set($map, \"key\", \"value\");"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const gulp = require('gulp');\nconst sass = require('gulp-sass')(require('sass')); // Using dart-sass\nconst pack = require('seed-dash');\nconst path = require('path');\n\ngulp.task('sass', function () {\n  return gulp.src('./sass/**/*.scss')\n    .pipe(sass({\n      includePaths: [\n        ...pack, // Includes seed-dash's own paths\n        path.join(__dirname, 'node_modules') // Ensure node_modules is also scanned\n      ]\n    }).on('error', sass.logError))\n    .pipe(gulp.dest('./css'));\n});\n\n// To run:\n// 1. Create a file `sass/main.scss`:\n//    `@import \"pack/seed-dash/_index\";\n//    $my-map: (\n//      'foo': 'bar',\n//      'nested': ('a': 1)\n//    );\n//    $my-map: _set($my-map, 'nested.b', 2);\n//    body { content: _get($my-map, 'nested.b'); }`\n// 2. Install dependencies: `npm install gulp gulp-sass sass seed-dash`\n// 3. Run: `npx gulp sass`","lang":"javascript","description":"This example demonstrates how to integrate `seed-dash` into a Gulp-based Sass compilation pipeline, allowing Sass files to import and use its utility functions for configuration.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}