{"id":20467034,"url":"https://github.com/codekraft-studio/vue-lodash","last_synced_at":"2026-04-21T13:32:04.134Z","repository":{"id":48624018,"uuid":"162325000","full_name":"codekraft-studio/vue-lodash","owner":"codekraft-studio","description":"A complete lodash integration for VueJs","archived":false,"fork":false,"pushed_at":"2021-07-18T12:45:36.000Z","size":444,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T12:47:45.538Z","etag":null,"topics":["filters","lodash","vue-filters","vue-lodash","vue-plugin","vuejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekraft-studio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-18T17:42:27.000Z","updated_at":"2023-12-05T06:50:00.000Z","dependencies_parsed_at":"2022-09-16T00:51:06.350Z","dependency_job_id":null,"html_url":"https://github.com/codekraft-studio/vue-lodash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codekraft-studio/vue-lodash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-lodash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-lodash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-lodash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-lodash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekraft-studio","download_url":"https://codeload.github.com/codekraft-studio/vue-lodash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-lodash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32094378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["filters","lodash","vue-filters","vue-lodash","vue-plugin","vuejs"],"created_at":"2024-11-15T13:26:50.748Z","updated_at":"2026-04-21T13:32:04.115Z","avatar_url":"https://github.com/codekraft-studio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-lodash\n\n\u003e Lodash integration and filters for Vue\n\n[![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url] [![License][license-image]][license-url]\n\n## Installation\n\nDownload the project using your favourite package manager.\n\n```\nnpm install @codekraft-studio/vue-lodash\n```\n\nThan load the plugin using Vue in your application.\n\n```js\nimport Vue from 'vue'\nimport VueLodash from '@codekraft-studio/vue-lodash'\n\nVue.use(VueLodash)\n```\n\nYou can customize the plugin installation using the [options](#options) described below.\n\n## Usage\n\nThe plugin will install lodash globally in your Vue instance `Vue._`, it will\nbe accessible from everywhere even inside your templates scope:\n\n```html\n\u003cli v-for=\"n in _.uniq([2, 4, 4, 6, 10, 1, 3, 1, 8, 6])\"\u003e{{n}}\u003c/li\u003e\n```\n\nOnce you have installed the project and setup correctly you should be able\nto use almost all of the lodash methods as filters, for example:\n\n```html\n\u003cp\u003e{{ description | capitalize }}\u003c/p\u003e\n```\n\nYou can also chain them to obtain more complex results:\n\n```html\n\u003cp\u003e{{ description | capitalize | truncate({ length: 30 }) }}\u003c/p\u003e\n```\n\nAll the filters can be used as shown in the official lodash documentation, be sure to skip the first parameter which is the value since is injected from the application.\n\n---\n\n## Options\n\n#### alias\n\nType: `string`\n\nThe alias string used during the plugin installation for registering __lodash__ in Vue prototype, default to `_`.\n\n#### filters\n\nType: `boolean | array`\n\nDedice when or which filters should be registered globally during plugin installation. By default the plugin will install all the available filters, but you can disable all of them passing `false` or choose which filters group to add when using an array of strings.\n\n```js\n// load all filters\nVue.use(VueLodash, {\n  filters: true\n})\n\n// load only filters in lang group\nVue.use(VueLodash, {\n  filters: ['lang']\n})\n```\n\nThe filter groups mirror the [official documentation groups](https://lodash.com/docs/).\n\n---\n\n## License\n\nReleased with [MIT License](./LICENSE) © [codekraft-studio](https://github.com/codekraft-studio)\n\n\n[npm-image]: https://badge.fury.io/js/%40codekraft-studio%2Fvue-lodash.svg\n[npm-url]: https://npmjs.org/package/@codekraft-studio/vue-lodash\n\n[daviddm-image]: https://david-dm.org/codekraft-studio/vue-lodash.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/codekraft-studio/vue-lodash\n\n[license-url]: https://github.com/codekraft-studio/vue-lodash/blob/master/LICENSE\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekraft-studio%2Fvue-lodash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekraft-studio%2Fvue-lodash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekraft-studio%2Fvue-lodash/lists"}