{"_id":"@bartoszwais/vue-options-plugin","_rev":"1-08b6c216356b769decda420b89a15cff","name":"@bartoszwais/vue-options-plugin","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bartoszwais/vue-options-plugin","version":"1.0.0","description":"A simple Vue plugin that shows how to use the object options","main":"OptionsPlugin.vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"@bartoszwais/vue-options-plugin@1.0.0","_nodeVersion":"11.10.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-t/eBiIT4AoIHIisoE4QaL+4X0UQbksYukCCKerf3vVoCkC6LXs7Ib6YyTEXd8CzuyRr1kF1T8KzbvPyKUvm0dw==","shasum":"cabdcb297abac3c6fd92b23dd7207186dd2c8a7b","tarball":"https://registry.npmjs.org/@bartoszwais/vue-options-plugin/-/vue-options-plugin-1.0.0.tgz","fileCount":6,"unpackedSize":16498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuG/rCRA9TVsSAnZWagAApgQQAKEPK6Bt0PT6PPOyAH+t\nYPmwizfE/qM/eAeaBJ/ivxxz+pPjxdkpsVuLhhzN3CjK3CdfXceUj8ysJa+V\n97wG2XyKOibbxCKcL2TU7q6b8qJtS7SiBX1SWKYFOXcsr9ew2gcocKQiVHW0\n1wdWdwi4W0Ivhg/YvVVBfU4e7yT6jfdEiUj93Hi/Usp4Gmg6dKqtm9F3iSB2\nQdzhl3wUxjoRzA/Aqkc6PFd2L96v0FWgOvvnFYgGPMjXRhNKHMmBgYZEh0Dp\ntMhphTWHnR0HVxf7f5EnGGTKZPpxSpplQCIY6Y3u5N9MqK3ssILNdG7Oi5pK\nZpzNmCYg7dc7uWBZ9Y1nW+N5rPJMZNKXYdB4sVKHTUyyqPBkJ05JT8H1iFhR\nb1UzC/77QVv6HQMV2HJZcaTe5m2Ng4HOjcktqvEFyIPO50pnq/m/w/3TO3Z4\nPS5o6X2xH/cxQxiHbraZaDB8YY7/fQ16ne3M4HsEiJwCcsWF/Ywp+R2/Yru6\n/I421NSeWl4iKnEBmR0zOZmVCezb+OivHneJ1zPiNvVeZvq+d6gzTmauF0rs\nV3s4CI7F8ashPVgTo9RqNrRnAruDdM1nN4hy7pEH9lcS1tVBMTywkq5/v/7L\n+YiLLaXh21CpObjFzPrA+C6ZixseTv3E/MTTIkPJti19JeDpy/3NInFL6ZsZ\nzEmC\r\n=jPWU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlAzIWQMZQmf1Ek7IE/frZOOspsfpEms6XJhWPDCH0TAiEAg/SAg3dZK9nh08Pflgw9tRjDRkGu6CnYtKm2ZQjcCKw="}]},"maintainers":[{"name":"bartoszwais","email":"bartoszwais@googlemail.com"}],"_npmUser":{"name":"bartoszwais","email":"bartoszwais@googlemail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-options-plugin_1.0.0_1555591146699_0.6709532333014743"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-18T12:39:06.502Z","1.0.0":"2019-04-18T12:39:06.800Z","modified":"2022-04-04T17:44:53.896Z"},"maintainers":[{"name":"bartoszwais","email":"bartoszwais@googlemail.com"}],"description":"A simple Vue plugin that shows how to use the object options","license":"ISC","readme":"# optionsplugin\n<p> A demo of making a simple Vue 2 plugin and using it with values stored in the options object. This plugin logs out to the console the number of characters in an element. It also adds different CSS styles based on the length of characters in the element.</p>\n\n## Installation\n```bash\n npm install --save optionsplugin\n```\n## Configuration\n```javascript\nimport Vue from 'vue';\nimport OptionsPlugin from 'optionsplugin'\nVue.use(OptionsPlugin, {\n  selectedOption: {\n    plum: \"5px dashed purple\",\n    orange: \"10px double orange\"\n  }\n})\n```\n## Usage\n<p>To use it, simply add the plugin's custom directive of v-text-length to an element in your template's code.</p>\n\n","readmeFilename":"readme.md"}