{"id":17931292,"url":"https://github.com/seven-phases-max/less-plugin-lists","last_synced_at":"2025-06-13T02:03:27.533Z","repository":{"id":73811889,"uuid":"32996126","full_name":"seven-phases-max/less-plugin-lists","owner":"seven-phases-max","description":"List/Array manipulation for Less","archived":false,"fork":false,"pushed_at":"2018-06-13T23:22:01.000Z","size":60,"stargazers_count":39,"open_issues_count":3,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-09T16:52:10.976Z","etag":null,"topics":["css","less","less-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/seven-phases-max.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-27T16:10:00.000Z","updated_at":"2024-08-10T15:32:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c5f79fc-7de1-4306-a531-78a124bcaab2","html_url":"https://github.com/seven-phases-max/less-plugin-lists","commit_stats":{"total_commits":42,"total_committers":4,"mean_commits":10.5,"dds":0.0714285714285714,"last_synced_commit":"2d5a822f5319346f67b32057f066e557b24cd9f9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/seven-phases-max/less-plugin-lists","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-phases-max%2Fless-plugin-lists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-phases-max%2Fless-plugin-lists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-phases-max%2Fless-plugin-lists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-phases-max%2Fless-plugin-lists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seven-phases-max","download_url":"https://codeload.github.com/seven-phases-max/less-plugin-lists/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-phases-max%2Fless-plugin-lists/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259522456,"owners_count":22870469,"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":["css","less","less-plugin"],"created_at":"2024-10-28T21:21:01.090Z","updated_at":"2025-06-13T02:03:27.501Z","avatar_url":"https://github.com/seven-phases-max.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"#less-plugin-lists\"\u003e\n    \u003cimg src=\"https://cdn.rawgit.com/seven-phases-max/less-plugin-lists/1d76ab1b/docs/logo.svg\" width=\"100%\" height=\"48\"/\u003e\n\u003c/a\u003e\n\n# less-plugin-lists\n[Less](http://lesscss.org) plugin for lists/arrays manipulation.\n\n[![npm version](https://badge.fury.io/js/less-plugin-lists.svg)](http://badge.fury.io/js/less-plugin-lists)\n[![dependencies](https://david-dm.org/seven-phases-max/less-plugin-lists.svg)](https://david-dm.org/seven-phases-max/less-plugin-lists)\n[![dev dependencies](https://david-dm.org/seven-phases-max/less-plugin-lists/dev-status.svg)](https://david-dm.org/seven-phases-max/less-plugin-lists#info=devDependencies)\n\n## Features\n\n* [.for](docs/for.md) and [.for-each](docs/for-each.md) - (almost) canonical syntax for iterative statements\n* [Vector Arithmetic](docs/va.md) - perform arithmetic operations on lists\n\n## Functions\n\nThe plugin extends Less with the following functions:\n- [`at       `](docs/ref.md#at)        - returns the value at the specified position in a list.\n- [`cat      `](docs/ref.md#cat)       - concatenates two or more lists.\n- [`flatten  `](docs/ref.md#flatten)   - returns a one-dimensional list containing all elements of an input list.\n- [`join     `](docs/ref.md#join)      - joins all elements of a list into a string.\n- [`l        `](docs/ref.md#l)         - creates a comma or space separated list.\n- [`reverse  `](docs/ref.md#reverse)   - returns list in reversed order.\n- [`slice    `](docs/ref.md#slice)     - returns selected portion of a list.\n- [`splice   `](docs/ref.md#splice)    - replaces or removes selected portion of a list and returns the modified copy.\n- [`transpose`](docs/ref.md#transpose) - transposes rows and columns of a list.\n- [`_inspect `](docs/ref.md#_inspect)  - return a string representation of a list with debug/log formatting.\n\n## Installation\n\n    npm install -g less-plugin-lists\n    \n## Using with [`lessc`](http://lesscss.org/usage/#command-line-usage)\n\n    lessc --lists file.less\n    \nFor more details about using plugins with the command line Less compiler see \n[the corresponding section](http://lesscss.org/usage/#plugins-how-do-i-use-a-plugin-command-line) \nin the [Less documentation](http://lesscss.org).\n\n## Using with common Less tools\n\n- [`grunt-contrib-less`](https://github.com/gruntjs/grunt-contrib-less#usage-examples)\n- [`gulp-less`](https://github.com/plus3network/gulp-less#using-plugins)\n- [`webpack less-loader`](https://webpack.js.org/loaders/less-loader/#plugins)\n\n## Programmatic Usage\n\nSee [Using a plugin in code](http://lesscss.org/usage/#plugins-using-a-plugin-in-code).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseven-phases-max%2Fless-plugin-lists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseven-phases-max%2Fless-plugin-lists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseven-phases-max%2Fless-plugin-lists/lists"}