{"id":16327059,"url":"https://github.com/mrmlnc/less-symbols-parser","last_synced_at":"2025-10-25T20:32:18.256Z","repository":{"id":47639265,"uuid":"71514643","full_name":"mrmlnc/less-symbols-parser","owner":"mrmlnc","description":"A very simple and fast Less parser for Mixins, Variables and Imports.","archived":false,"fork":false,"pushed_at":"2021-08-20T06:25:47.000Z","size":52,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T10:35:37.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmlnc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-21T00:14:13.000Z","updated_at":"2021-08-19T12:19:06.000Z","dependencies_parsed_at":"2022-07-22T12:32:28.275Z","dependency_job_id":null,"html_url":"https://github.com/mrmlnc/less-symbols-parser","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fless-symbols-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fless-symbols-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fless-symbols-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fless-symbols-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/less-symbols-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238207660,"owners_count":19434095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:10:17.869Z","updated_at":"2025-10-25T20:32:12.962Z","avatar_url":"https://github.com/mrmlnc.png","language":"TypeScript","funding_links":["https://paypal.me/mrmlnc"],"categories":[],"sub_categories":[],"readme":"# less-symbols-parser\n\n\u003e A very simple and fast Less Symbols parser.\n\n## Donate\n\nIf you want to thank me, or promote your Issue.\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/mrmlnc)\n\n\u003e Sorry, but I have work and support for plugins and modules requires some time after work. I will be glad of your support or PR's.\n\n## Install\n\n```shell\n$ npm i -S less-symbols-parser\n```\n\n## Why?\n\nPrimarily, this module is designed to work with [vscode-less](https://github.com/mrmlnc/vscode-less) extension.\n\n  * Dependencies free.\n  * Returns document Variables, Mixins and Imports.\n  * Very fast.\n\n## Usage\n\n```js\nconst symbolsParser = require('less-symbols-parser');\n\nconst symbols = symbolsParser.parseSymbols('@a: 1;');\n// console.log(symbols);\n// {\n//   variables: [ { name: '@a', value: '1', offset: 0 } ],\n//   mixins: [],\n//   imports: []\n// }\n```\n\n## Symbols\n\n**variable**\n\n  * name: `string`\n  * value: `string`\n  * offset: `number`\n\n**mixin**\n\n  * name: `string`\n  * parameters: `variable[]`\n  * offset: `number`\n\n**import**\n\n  * filepath: `string`\n  * modes: `string[]`\n  * dynamic: `boolean` (filepath contains `@`, `{` or `}`)\n  * css: `boolean` (filepath contains `css` extension or mode)\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/less-symbols-parser/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fless-symbols-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fless-symbols-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fless-symbols-parser/lists"}