{"_id":"@bum/vue-filters","_rev":"4-94038bf187e24afdb76ae2a0a210e88c","name":"@bum/vue-filters","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.1":{"name":"@bum/vue-filters","version":"0.1.1","private":false,"scripts":{"build:filters":"vue-cli-service build --target lib --name vue-filters --dest lib/dist src/filters/index.js","lint":"vue-cli-service lint"},"main":"lib/dist/vue-filters.common.js","peerDependencies":{"vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^4.0.5","@vue/cli-plugin-eslint":"^4.0.5","@vue/cli-service":"^4.0.5","babel-eslint":"^10.0.3","eslint":"^6.6.0","eslint-plugin-vue":"^6.0.1","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"publishConfig":{"access":"public"},"gitHead":"fd8660f0400abc68232c3bf85fa7e299407d281b","description":"In [Vue 1 Filters](https://cli.vuejs.org/config/), there's a list of bultin filters those removed from Vue2. If we want to reuse those filters, just add `vue-filters` into dependencies.","_id":"@bum/vue-filters@0.1.1","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-ilaO3WBjjO9eIylVjYwx2cHdA2uIOv1IFUV7/qEB0tYyIXXtLqM7HntfopP+fx9OvWnGGwAhhpLo5nAkt7XSMA==","shasum":"2b3b68a53bb0bc688e3bb649c6201cc25a10a8ca","tarball":"https://registry.npmjs.org/@bum/vue-filters/-/vue-filters-0.1.1.tgz","fileCount":36,"unpackedSize":183672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0m5SCRA9TVsSAnZWagAAVasQAJxMet+aay+RJdfQA2vH\ncqilwefPJJvydnLXnkb9/P6qTqYbpOHdWMQxcwVBu3knrKvBWsUws3DG2T55\nUxaZRmjMsO2nHILx/bs7QUGOgELFZQUGRm71cxevAua94lK4nC/8A54MTPV+\n62nHOGkXhuPWZ4U1TPZrq8z7CVuH8jXxsrp2PbjBJQbZ1hh7907MZNieaES0\nDI2nDPXO9jkMPDyn2hIdCvofOn/XmywpluH6Boqt9Yc2g8UdCGQksHiTetaw\nTld8KmCrJ1cT+C1GpGP+pa9yUzuSQL9goS74LmHQT9VgM7ilNgdiiATluObL\nf8YdS8iWaMDfRSBPW7uvwVkK/4iV82XW1yRjUmpb4VxhzQFcupoFSOMWsmIh\nrgZjanufYfmO8CGWOZPta337haQiDg+U3lU9dPzuDBIHDpdktKsnVN0XXtMk\nTTGPTHogGRlLvp4kT4AcGVcQXVYvxOSMZ58f+Xu0JVxwWHnOWc10Hihh6Dc/\nxuWWPUSNDV0hm2aRQlXI+qKfGJhGwQM0fvtE430PT1qvHsmoMge7tlUcj6ro\nGBSUZTEmPmH4zSkLSbpinKbF3SQN3fyVJamo1zN/I04go9S2UWgA5vmosvIl\nB2CvBpZkW6IUOXFRaDkH8iWnPCw192R37RC0h54lb8hookDvWpbx/Cx0Jl+M\nWcpl\r\n=mw28\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX+oC/VPexwYS7tGJECp4WBGUI29ptwFOGP40697xe9QIhAPXzO9DHI/VrxJop4LvYnQOtt9NITezJmwdiodIKR3vR"}]},"maintainers":[{"name":"luanth","email":"luanth@gmail.com"}],"_npmUser":{"name":"luanth","email":"luanth@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-filters_0.1.1_1574071890336_0.04055029691836998"},"_hasShrinkwrap":false},"0.1.6":{"name":"@bum/vue-filters","version":"0.1.6","description":"A collection of Vue.js filters","private":false,"scripts":{"build:filters":"vue-cli-service build --target lib --name vue-filters --dest lib/dist src/filters/index.js","lint":"vue-cli-service lint"},"main":"lib/dist/vue-filters.common.js","peerDependencies":{"vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^4.0.5","@vue/cli-plugin-eslint":"^4.0.5","@vue/cli-service":"^4.0.5","babel-eslint":"^10.0.3","eslint":"^6.6.0","eslint-plugin-vue":"^6.0.1","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"keywords":["vuejs","vue","filter","vue-filters"],"dependencies":{},"homepage":"https://github.com/bum/vue-filters","repository":{"type":"git","url":"git+https://github.com/bum/vue-filters.git"},"gitHead":"e5148c62daef42d0ccbf0020937b2d0718fb8a74","bugs":{"url":"https://github.com/bum/vue-filters/issues"},"_id":"@bum/vue-filters@0.1.6","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-08Fjj74tvQ5xCNqExE/LsYq3BHkiZS4HWC+BMXVi8qR9i0BMdYGjCX4kADxJ82llPNWHVSCodkR1xDkH9gfIfw==","shasum":"5b8f19bec8267e793ee96fdbeb871a8c9ed7806d","tarball":"https://registry.npmjs.org/@bum/vue-filters/-/vue-filters-0.1.6.tgz","fileCount":37,"unpackedSize":186038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0sE4CRA9TVsSAnZWagAAqecP+gJdAjQj/9f2Wv7ugw4n\nru0Ng90Iwj1yYSQNT75LuJR9IxtJahngHHmWdTGb4S6D4qFCElssKEazoxyn\nEm7fJt4BKhA2HewBP2aVDnSy34FFFfdOPJvPKYwOYo88CKhji6X2cZNWaQVa\n/rhrGBDAJmPcCRKbBGmnJyg/QR0oytD+VTdZhNBAHrp0OP/R5a18ZwDnJADV\nP+i4BSgt4jNanIpVOl6jFEVqOyETUERp+ImycwxKuGt+Uu+AwUD5k9V42m49\nB5xYhVhCJddZI7ZfccAG0DFKbHCfuVQv+sup7rEtIcVmyctBnHn+vT/P+zwV\n8YoSlXyCP4M7Fgid/+UR1TlGQdyCwM9R/eurnZgR83qw+/yDK9VYXpK2sVo1\nI71aiAWc6r4sp2nIL42ulqWQkkfAca0a/oJh4jPUSDi6/nK1AWjyD/w+Zm85\n49GoFYLAgC/n/h64jiDM5NMcDsypsoL61U5kAKgxKpRkoPXc4TuFy/Hx0wYZ\nHIAO9MSHYU02LsHO/0hBYfrn1QqWwScmp20H3cWzYHXnvjXEwnzIlMsiph5L\njtsbZcvyCxwkDF3kVcrQnpvu+zHWsolmp4a3Mq4YCtfC8zHaANDfjHLQaYRU\na7TABNan65QFcoI8BUrfjFJ1du3dQU4zbAHa0MzdVOi7T/beJJAPck58Wi6P\nIJFt\r\n=gdak\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJvCA7Whk3rkAyRtnjnWcLtRpCZU2G1jot0UZa7FZalwIgOGeKdL8NA02dfki+/7Ah0Ch54tV4ksoRoRxH27QL2uc="}]},"maintainers":[{"email":"luanth@gmail.com","name":"luanth"}],"_npmUser":{"name":"luanth","email":"luanth@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-filters_0.1.6_1574093110614_0.9188208468729879"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-18T10:11:30.077Z","0.1.1":"2019-11-18T10:11:30.484Z","modified":"2022-04-04T21:04:54.206Z","0.1.6":"2019-11-18T16:05:10.865Z"},"maintainers":[{"email":"luanth@gmail.com","name":"luanth"}],"description":"A collection of Vue.js filters","readme":"# @bum/vue-filters\n\nIn [Vue 1 Filters](https://cli.vuejs.org/config/), there's a list of bultin filters those removed from Vue2.\nIf we want to reuse those filters, just add `@bum/vue-filters` into dependencies.\n\n```shell script\nyarn add @bum/vue-filters\n```\n\n* Use all built-in filters from `@bum/vue-filters`\n```javascript\nimport Vue from 'vue'\nimport VueFilters from '@bum/vue-filters'\n\nVue.use(VueFilters)\n```\n\n* Select bilt-in filters, seperated by 'space'\n```javascript\nimport Vue from 'vue'\nimport VueFilters from '@bum/vue-filters'\n\nVue.use(VueFilters, { filters: \"lowercase uppercase\" })\n```\n\n* Make your **custom filter** with any transform function\n```javascript\nimport Vue from 'vue'\nimport { filter, uppercase } from '@bum/vue-filters'\n\nVue.use(filter(uppercase))\n```\n\n* Combine **custom filter** with `lodash` functions\n\n```shell script\nyarn add lodash\n```\n\n```javascript\nimport Vue from 'vue'\nimport { filter } from '@bum/vue-filters'\nimport { toLower, toUpper } from 'lodash/string'\nVue.use(filter(toLower, toUpper))\n```\n\n```html\n<div>{{ 'youR Name'|toUpper }}</div>\n```\n\n\n# Built-in Filters\n\n## String\n\n* capitalize\n* currency\n* lowercase\n* placeholder\n* pluralize\n* trim\n* truncate\n* uppercase\n\n## Array\n\n* filterBy\n* findBy\n* limitBy\n* orderBy\n\n# `lodash` [functions](https://lodash.com/docs/) \n(use **custom filter**)\n","readmeFilename":"README.md","homepage":"https://github.com/bum/vue-filters","keywords":["vuejs","vue","filter","vue-filters"],"repository":{"type":"git","url":"git+https://github.com/bum/vue-filters.git"},"bugs":{"url":"https://github.com/bum/vue-filters/issues"}}