{"id":15295052,"url":"https://github.com/polarisation/vue-nested-list","last_synced_at":"2025-10-29T07:43:37.866Z","repository":{"id":69808926,"uuid":"85994310","full_name":"Polarisation/vue-nested-list","owner":"Polarisation","description":"Vue.js component for rendering JavaScript objects and arrays as nested HTML lists","archived":false,"fork":false,"pushed_at":"2018-04-19T10:56:37.000Z","size":7,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T12:59:31.748Z","etag":null,"topics":["vuejs-components","vuejs2"],"latest_commit_sha":null,"homepage":null,"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/Polarisation.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-23T20:26:50.000Z","updated_at":"2020-05-29T06:26:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4d930da-61ae-4fe0-a371-dc075b289880","html_url":"https://github.com/Polarisation/vue-nested-list","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Polarisation/vue-nested-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polarisation%2Fvue-nested-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polarisation%2Fvue-nested-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polarisation%2Fvue-nested-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polarisation%2Fvue-nested-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polarisation","download_url":"https://codeload.github.com/Polarisation/vue-nested-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polarisation%2Fvue-nested-list/sbom","scorecard":{"id":110971,"data":{"date":"2025-08-11","repo":{"name":"github.com/Polarisation/vue-nested-list","commit":"0075ccde7445df8e42f2d83ad5d8a0aafa273dc9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-15T12:12:51.705Z","repository_id":69808926,"created_at":"2025-08-15T12:12:51.705Z","updated_at":"2025-08-15T12:12:51.705Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281584983,"owners_count":26526171,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["vuejs-components","vuejs2"],"created_at":"2024-09-30T17:08:25.663Z","updated_at":"2025-10-29T07:43:37.861Z","avatar_url":"https://github.com/Polarisation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-nested-list\nVue.js component for rendering JavaScript objects and arrays as nested HTML lists. This can be handy to quickly get reasonable HTML output of complex data during prototyping.\n\nThe content passed into the component will be rendered as follows:\n\n- `Object`s as definition lists (`\u003cdl\u003e`) with keys (`\u003cdt\u003e`) and values (`\u003cdd\u003e`),\n- `Arrays`s as unordered lists (`\u003cul\u003e`) with each item in a `\u003cli\u003e`,\n- Anything else in a `\u003cspan\u003e.`\n\n[![NPM](https://nodei.co/npm/vue-nested-list.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/vue-nested-list/)\n\n## Usage\nRegister the component, for example globally:\n\n```\nconst VueNestedList = require('vue-nested-list').NestedList;\nVue.component('nested-list', VueNestedList);\n```\n\nNow you can use in Vue.js templates. Let's say you have `person` object defined as a property on the data object:\n```\nvar vue = new Vue({\n\tel: \"#app\",\n\tdata: {\n\t\tperson: {\n\t\t\tname: \"John Smith\",\n\t\t\tage: 25,\n\t\t\thobbies: [\"coding\", \"swimming\", \"whisky\"],\n\t\t\tcompetencies: {\n\t\t\t\t\"javascript\": \"strong\",\n\t\t\t\t\"vue.js\": \"good\",\n\t\t\t\t\"angularjs\": \"poor\"\n\t\t\t}\n\t\t},\n\t}\n})\n```\n\nYou can now use the component in the Vue template:\n\n```\n\u003ch1\u003e{{person.name}}\u003c/h1\u003e\n\u003cnested-list v-bind:content=\"person\"\u003e\u003c/nested-list\u003e\n```\n\nAnd the data will be output as `dl` and `ul` elements:\n\n```\n\u003ch1\u003eJohn Smith\u003c/h1\u003e\n\u003cdl\u003e\n\t\u003cdt\u003ename\u003c/dt\u003e \u003cdd\u003e\u003cspan\u003eJohn Smith\u003c/span\u003e\u003c/dd\u003e\n\t\u003cdt\u003eage\u003c/dt\u003e \u003cdd\u003e\u003cspan\u003e25\u003c/span\u003e\u003c/dd\u003e\n\t\u003cdt\u003ehobbies\u003c/dt\u003e \u003cdd\u003e\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003e\u003cspan\u003ecoding\u003c/span\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003cspan\u003eswimming\u003c/span\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003cspan\u003ewhisky\u003c/span\u003e\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/dd\u003e\n\t\u003cdt\u003ecompetencies\u003c/dt\u003e \u003cdd\u003e\n\t\t\u003cdl\u003e\n\t\t\t\u003cdt\u003ejavascript\u003c/dt\u003e \u003cdd\u003e\u003cspan\u003estrong\u003c/span\u003e\u003c/dd\u003e\n\t\t\t\u003cdt\u003evue.js\u003c/dt\u003e \u003cdd\u003e\u003cspan\u003egood\u003c/span\u003e\u003c/dd\u003e\n\t\t\t\u003cdt\u003eangularjs\u003c/dt\u003e \u003cdd\u003e\u003cspan\u003epoor\u003c/span\u003e\u003c/dd\u003e\n\t\t\u003c/dl\u003e\n\t\u003c/dd\u003e\n\u003c/dl\u003e\n```\n\nTo get nicely nested output across browsers when rendered, you will need a little CSS for the definition list, something like:\n\n```\ndt {\n\tfont-weight: bold;\n}\ndt:after {\n\tcontent: \":\"\n}\ndd {\n\tmargin-left: 2em;\n}\n```\n\n## Install\n\n```\n$ npm install vue-nested-list\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarisation%2Fvue-nested-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolarisation%2Fvue-nested-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarisation%2Fvue-nested-list/lists"}