{"_id":"@codekraft-studio/vue-lodash","_rev":"3-0d0c897ae88176475ff8c5092ba05103","name":"@codekraft-studio/vue-lodash","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@codekraft-studio/vue-lodash","version":"0.1.0","_id":"@codekraft-studio/vue-lodash@0.1.0","maintainers":[{"name":"b4dnewz","email":"filippo@codekraft.it"}],"dist":{"shasum":"977e0c5ccf8341db43a43702123f11ade9c34046","tarball":"https://registry.npmjs.org/@codekraft-studio/vue-lodash/-/vue-lodash-0.1.0.tgz","fileCount":28,"integrity":"sha512-t0cd03NaBaX3VcNuin5VShPJfHNjWxBwbT0YVlyL6PZv3ZDwm4JQbTzilwZOyYBu5dazlRthE3CIl4sTcPl5cQ==","signatures":[{"sig":"MEUCIQCkCNEmeHS3K/4P2phm68aFvs2v/4AwHCGNcJm16k2FYAIgBKdihLZi7kX8MLVSr2IyLnFchiyhjI+jOHt6WkIq+kM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":571409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGVQBCRA9TVsSAnZWagAAWFwQAIW7PPdvbqDDYCPxHwDY\ndFJmKjln+OhEXyfbZiVGmQ8Z9tUyQYFhkTG2vTWr+5efDAgR9wpphlOwQtrE\npDmlW4hc/maO/jgzJJ0QZsC1yim5GXKU6JTBHEwI+jbYQ4HaHa2q0FsgR5sA\ng2xEI2NJ9G1VmArePHU6/XGJ+graEyRUjAQeiHul94Fz1/YQvNVnO4NhYxoi\nNayez8yIGeyqDY7tmazi36uZ1OB2gBa9FxK9PGh5CwRybfkb51WCGAmFpDNG\n1a/oef4xHxhsZgW74Kc1tzdBPI20i915/8tDFAr2RO8eHoNIHX/sQxK8ASfm\nA2UWQ8AV+ACVVlSeXlFdCdylL9Q2xsmxpKQ4e7MolfdB2x/+k5U6d+rn3mMO\nlyj2EKJAfHSo/d0VdNNNRFhXAtV0TOwF0MPzVHZx3PkLkQo37OlUEUTGEqH6\n5N0JGOnBjotJkCxTVNDRMxpsN9W05nmvzvC6llZA1POcP+kLQOJsq9eozbCF\nAw0wjTemo0+vwUMFpWHbYyYjGLLvMmPkbgUZe07V2H/1UImX3YXib9cnCPKp\nOgglbQTH9JYhscPsHKngYIgbKvqjRAvWr9N6aON1t0f5UuiwZdGWD6kudUuC\nHaCwlxO0S2jNtbzNg5d93wHUT8Cz3e7usFB/wyFM3GuWt/YbvgCbBtnG+iQx\nMnB+\r\n=xrZJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/VueLodash.umd.js","scripts":{"lint":"vue-cli-service lint","test":"vue-cli-service test:unit --coverage","build":"vue-cli-service build --target lib --name VueLodash lib/index.js","serve":"vue-cli-service serve"},"_npmUser":{"name":"b4dnewz","email":"filippo@codekraft.it"},"gitHooks":{"pre-commit":"lint-staged"},"description":"Lodash integration and filters for Vue","directories":{},"lint-staged":{"*.js":["vue-cli-service lint","git add"],"*.vue":["vue-cli-service lint","git add"]},"dependencies":{"vue":"^2.5.17","lodash":"^4.17.11"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.8.0","babel-core":"7.0.0-bridge.0","babel-jest":"^23.6.0","lint-staged":"^7.2.2","babel-eslint":"^10.0.1","@vue/test-utils":"^1.0.0-beta.20","@vue/cli-service":"^3.2.0","eslint-plugin-vue":"^5.0.0-0","@vue/cli-plugin-babel":"^3.2.0","vue-template-compiler":"^2.5.17","@vue/cli-plugin-eslint":"^3.2.0","@vue/cli-plugin-unit-jest":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-lodash_0.1.0_1545163776623_0.2996666723267314","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@codekraft-studio/vue-lodash","version":"0.2.0","keywords":["vue","vue-plugin","vue-lodash","lodash","lodash-integration"],"_id":"@codekraft-studio/vue-lodash@0.2.0","maintainers":[{"name":"b4dnewz","email":"filippo@codekraft.it"}],"dist":{"shasum":"cba6dcd918553946d336f3e8c06b68e40d70dc50","tarball":"https://registry.npmjs.org/@codekraft-studio/vue-lodash/-/vue-lodash-0.2.0.tgz","fileCount":9,"integrity":"sha512-PepUM9xEFzIXrV00cecBBb4ny85TixFS2EkqaeTXmmSEDaHQP5ajfGEkicc3OKtwg7YNeKBF6R/haLeD0jusZg==","signatures":[{"sig":"MEUCIQCAw4DnVpr+BcTIy9alGrlN6Jxa6Ilznp8JhcNNFJIEWwIgFE/RZQ4FEXiTpTmXhb/PcMpP/tm+FW21s+iwFFIUvtI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3974860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd43CrCRA9TVsSAnZWagAA+eIP/iZ8jpyCdyycNh7r8FBC\nYE9omh5QaIDvek4Es3MLO3uhNLGcsvlMQfODcNTzHhdmgRckG1dOkCCrZDF9\n+6UnIFKt4obeHYlecm4z+dUpIuK1UaGCdSxRQnSn8HfUK9wD3F6e/v3/xU2Z\nLmpOJRvhUmhdsGiq+pQ98whFA0zJ+DIajjDBv5UYGD6O5xFs4Clyz/8IWSn3\n8X0sRqp7Gw15A0HG5jKAasjisNtYzHX4+1f6jxTMbTBy93IYo47Y+SAYXe0C\n92/03b+y4n+j1AvSxv0CLcWqt5/A6BPINUgoGm5Mf8pXMx1X1bq3DzwVy3P5\n7pT3eWbyz1i8ZvcBYGQvTvJvAJpcdR6r9siwVApb0FsxO3wCCOE1YHPWII7V\ndQkxh+Vj5Lv/5EgLuCLUfNuN/FxZYkJ8teaL7MQZD8be8c8pEmGpA+B/VpJK\nPoVQZEkzxkvAzAzEHX6q1r2EzQ74MKtd/5e9wTjubKzhLgvmapRwFKqRHv3w\nVHIrTUEnYdPsnCCn6VTzB7HRnyOianqYGuczxpWHhJ1NxRX+G0RzXqzRxuGa\ny/l9ths87QOJse/wSuVAkp9xo/5Ed5MYxUSyF7x0x5WGrWm/as5wFLmO0Jw4\n3yp5sdZQfWTwcBrh5AJb1CA/PMgFbqWlOsbt3g1Boc+Y7D7XsT9f94eX+7Tn\nVrxb\r\n=elOg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/VueLodash.umd.js","gitHead":"5c9b5b20ef9456cae61eddd58c79e48ffdb30557","scripts":{"lint":"vue-cli-service lint","test":"vue-cli-service test:unit --coverage","build":"vue-cli-service build --target lib --name VueLodash lib/index.js","serve":"vue-cli-service serve","prepublishOnly":"npm run build"},"_npmUser":{"name":"b4dnewz","email":"filippo@codekraft.it"},"gitHooks":{"pre-commit":"npx lint-staged"},"_npmVersion":"6.12.1","description":"Lodash integration and filters for Vue","directories":{},"lint-staged":{"*.js":["vue-cli-service lint","git add"],"*.vue":["vue-cli-service lint","git add"]},"_nodeVersion":"10.15.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"2.x","eslint":"^6.5.1","lodash":"4.x","coveralls":"^3.0.7","babel-core":"7.0.0-bridge.0","babel-jest":"^24.9.0","lint-staged":"^9.4.2","babel-eslint":"^10.0.3","@vue/test-utils":"^1.0.0-beta.20","@vue/cli-service":"^4.0.5","eslint-plugin-vue":"^5.2.3","@vue/cli-plugin-babel":"^4.0.5","vue-template-compiler":"^2.6.10","@vue/cli-plugin-eslint":"^4.0.5","@vue/cli-plugin-unit-jest":"^4.0.5"},"peerDependencies":{"vue":"2.x","lodash":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/vue-lodash_0.2.0_1575186603257_0.09560105172197453","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-12-18T20:09:36.485Z","modified":"2024-08-10T13:19:51.720Z","0.1.0":"2018-12-18T20:09:36.709Z","0.2.0":"2019-12-01T07:50:03.476Z"},"keywords":["vue","vue-plugin","vue-lodash","lodash","lodash-integration"],"description":"Lodash integration and filters for Vue","maintainers":[{"email":"erikyo83@gmail.com","name":"erikyo"},{"email":"filippo@codekraft.it","name":"b4dnewz"}],"readme":"# vue-lodash\r\n\r\n> Lodash integration and filters for Vue\r\n\r\n[![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url] [![License][license-image]][license-url]\r\n\r\n## Installation\r\n\r\nDownload the project using your favourite package manager.\r\n\r\n```\r\nnpm install @codekraft-studio/vue-lodash\r\n```\r\n\r\nThan load the plugin using Vue in your application.\r\n\r\n```js\r\nimport Vue from 'vue'\r\nimport VueLodash from '@codekraft-studio/vue-lodash'\r\n\r\nVue.use(VueLodash)\r\n```\r\n\r\nYou can customize the plugin installation using the [options](#options) described below.\r\n\r\n## Usage\r\n\r\nThe plugin will install lodash globally in your Vue instance `Vue._`, it will\r\nbe accessible from everywhere even inside your templates scope:\r\n\r\n```html\r\n<li v-for=\"n in _.uniq([2, 4, 4, 6, 10, 1, 3, 1, 8, 6])\">{{n}}</li>\r\n```\r\n\r\nOnce you have installed the project and setup correctly you should be able\r\nto use almost all of the lodash methods as filters, for example:\r\n\r\n```html\r\n<p>{{ description | capitalize }}</p>\r\n```\r\n\r\nYou can also chain them to obtain more complex results:\r\n\r\n```html\r\n<p>{{ description | capitalize | truncate({ length: 30 }) }}</p>\r\n```\r\n\r\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.\r\n\r\n---\r\n\r\n## Options\r\n\r\n#### alias\r\n\r\nType: `string`\r\n\r\nThe alias string used during the plugin installation for registering __lodash__ in Vue prototype, default to `_`.\r\n\r\n#### filters\r\n\r\nType: `boolean | array`\r\n\r\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.\r\n\r\n```js\r\n// load all filters\r\nVue.use(VueLodash, {\r\n  filters: true\r\n})\r\n\r\n// load only filters in lang group\r\nVue.use(VueLodash, {\r\n  filters: ['lang']\r\n})\r\n```\r\n\r\nThe filter groups mirror the [official documentation groups](https://lodash.com/docs/).\r\n\r\n---\r\n\r\n## License\r\n\r\nReleased with [MIT License](./LICENSE) © [codekraft-studio](https://github.com/codekraft-studio)\r\n\r\n\r\n[npm-image]: https://badge.fury.io/js/%40codekraft-studio%2Fvue-lodash.svg\r\n[npm-url]: https://npmjs.org/package/@codekraft-studio/vue-lodash\r\n\r\n[daviddm-image]: https://david-dm.org/codekraft-studio/vue-lodash.svg?theme=shields.io\r\n[daviddm-url]: https://david-dm.org/codekraft-studio/vue-lodash\r\n\r\n[license-url]: https://github.com/codekraft-studio/vue-lodash/blob/master/LICENSE\r\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg","readmeFilename":"README.md"}