package
A very simple and fast Less Symbols parser
npm install less-symbols-parserGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
A very simple and fast Less Symbols parser.
If you want to thank me, or promote your Issue.
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.
$ npm i -S less-symbols-parserPrimarily, this module is designed to work with vscode-less extension.
const symbolsParser = require('less-symbols-parser');
const symbols = symbolsParser.parseSymbols('@a: 1;');
// console.log(symbols);
// {
// variables: [ { name: '@a', value: '1', offset: 0 } ],
// mixins: [],
// imports: []
// }variable
stringstringnumbermixin
stringvariable[]numberimport
stringstring[]boolean (filepath contains @, { or })boolean (filepath contains css extension or mode)See the Releases section of our GitHub project for changelogs for each release version.
This software is released under the terms of the MIT license.