{"library":"postcss-less","type":"library","category":null,"description":"postcss-less is a PostCSS syntax parser specifically designed for LessCSS. It facilitates the application of PostCSS plugins, such as Autoprefixer or Stylelint, directly to Less source code without the need for prior Less compilation. The current stable version is 6.0.0, which mandates PostCSS v8.3.5 or higher as a peer dependency and requires Node.js v12+ for execution. This library's core function is to parse Less syntax into a PostCSS Abstract Syntax Tree (AST), enabling manipulation by other PostCSS tools and subsequent stringification back into Less. It is crucial to understand that postcss-less is *not* a Less compiler; users seeking Less compilation should utilize the official Less toolchain. Releases typically align with PostCSS major version updates, often introducing breaking changes to maintain ecosystem compatibility, alongside regular bug fixes and minor feature enhancements. Its key differentiators include tight integration with the PostCSS ecosystem for Less-specific linting and transformation, and its robust ability to parse Less features like `@import` statements, inline comments, mixins, and variables into a manipulable AST.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","css","postcss","postcss-syntax","parser","less"],"install":[{"cmd":"npm install postcss-less","imports":["import syntax from 'postcss-less';\n// or\nconst syntax = require('postcss-less');","import postcss from 'postcss';\n// or\nconst postcss = require('postcss');"]},{"cmd":"yarn add postcss-less","imports":[]},{"cmd":"pnpm add postcss-less","imports":[]}],"homepage":null,"github":"https://github.com/shellscape/postcss-less","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/postcss-less","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/postcss-less/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}