# less-plugin-load-json **Repository Path**: mirrors_developit/less-plugin-load-json ## Basic Information - **Project Name**: less-plugin-load-json - **Description**: Load LESS variables from JSON files - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # less-plugin-load-json Loads variables from JS / JSON files and makes the available to your LESS file. ## Example ``` module.exports = { myColor: 'red' } ``` ``` @import "values.js"; body { color: @myColor; } ``` ## Notes * Only `string` and `number` types are supported. No nested objects. ## Bugs There are likely plenty, please file some. ## Changelog * **0.1.2**: Protect against invalid JS/JSON files. Add tests. * **0.1.1**: Remove unused dependency. * **0.1.0**: Actually return a class, in order to work with webpack. * **0.0.1**: First version, kinda works.