Sass JSON Functions

JSON →
library 5.0.2 ·javascript
verified May 27, 2026

node-sass-json-functions provides utilities for JSON encoding and decoding within Sass stylesheets. Currently at stable version 5.0.2, the library typically sees updates tied to major Sass API changes or Node.js runtime requirements, with several releases over the past year. Its primary function is to bridge the gap between Sass data structures (lists, maps, colors, calculations, strings, numbers, booleans, nulls) and JSON strings. This allows developers to encode complex Sass data into JSON for use in CSS `content` properties, JavaScript interoperability, or other purposes, and subsequently decode JSON strings back into native Sass types. A key differentiator is its factory function approach (`createJsonFunctions`) that requires passing the `sass` or `sass-embedded` module reference, ensuring compatibility with the specific Sass implementation being used. This package is essential for projects needing to serialize or deserialize structured data directly within their Sass compilation process.

total hits 15
actors 8 distinct systems
last hit 2d ago Googlebot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany