{"_id":"@codekraft-studio/vue-convert-units","_rev":"3-13a9e7210cc62a6485a1c23321b72efa","name":"@codekraft-studio/vue-convert-units","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@codekraft-studio/vue-convert-units","version":"0.1.0","author":{"name":"b4dnewz","email":"filippo@codekraft.it"},"_id":"@codekraft-studio/vue-convert-units@0.1.0","maintainers":[{"name":"b4dnewz","email":"filippo@codekraft.it"}],"dist":{"shasum":"5e8cc928216c64f01ac438e1dc647f6ac0934a2b","tarball":"https://registry.npmjs.org/@codekraft-studio/vue-convert-units/-/vue-convert-units-0.1.0.tgz","fileCount":6,"integrity":"sha512-xf+0EoXAeNL1kIgp7gejhIP+P4l2FJeeAFhl+L+B9WX7SN2ZBuQuQo1ydcbgIQlBVKxtef/b23zgFVJjFyBJZA==","signatures":[{"sig":"MEUCIEFN1/TQLodTx0KSaHtfRteU7m+l/G1cG5SnDv8J6OVqAiEA76teinN7xldjnCvW+ZgNgS38vOi/eXtzKZzmW+p2k1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":264594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+fseCRA9TVsSAnZWagAA8q8P+gJ3kJekdvwBkYSfQKPY\nh3YXvrgNdzCmjTqBmGqyCK47fJLQh+nePjQl/l6AvfS9vxZdm/sA3r1XK/76\nATSEWXRYu7l/us9GOUNN42h2b8jfYJymCxpTUMykzcwjj/ptQ4ia5GEGfXTL\n0isLGZgZB/hNFyk5INPBVASwzCDJtrCK0VlnXoVDLISk+5dUKPOj3Z2q++J9\nviIbAFCNeiSp3i/ccKWWI4y/fyHN+G/8YDtFF/dqkpqpKjIzJZfUyl77Hfn4\nhw4wu6VejDG5XiMtIxrB3tABKrmAmyCUzO8O1zNvyw3kU+e25lK1NFFvhRBC\nYU3i08XJ2Ues4GoW0VT6e6P9xAkRIJ2FRlIHrINAKwuciLH8IFviWZ3PAUEW\nBNA0JsMz+os8UTOs6phOVAkp2ajKV5i0So9Qy6g04DcyJWyjvv9/Yre0lwOa\nq48cJSOVFHZu4GK9uawKgMYi/kbXYsYEi1drgGcYUlfQNlXCGnM6LVeSfe0v\nka1Q68p6iwewQSSQNYLLje9i4rS4FzLYyHV3o6Xk0i5efSxfP5L/dHcit2R3\nNLBMG+slkZjzLwnFzkRYsdyywYZe9Wlk4KKHfrRV5ICNH5vsmT4InVAGo3Jy\nvi0vy+fjFMzvSj1m1ux+uMn88bxkZkrxSRu+DlPREGjOPeolKhU6lCV2HUBQ\nPs8z\r\n=LFd7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/build.umd.js","gitHead":"fa9f5a3d38de74be7292f0b64ce6015a39ad2f0a","postcss":{"plugins":{"autoprefixer":{}}},"private":false,"scripts":{"lint":"vue-cli-service lint","build":"vue-cli-service build --target lib --name build ./src/ConvertUnits.js","serve":"vue-cli-service serve","build-demo":"vue-cli-service build --dest docs","publish-demo":"git subtree push --prefix docs origin gh-pages"},"_npmUser":{"name":"b4dnewz","email":"filippo@codekraft.it"},"_npmVersion":"6.3.0","description":"Convert units with vue integrating convert-units","directories":{},"_nodeVersion":"8.9.1","browserslist":["> 1%","last 2 versions","not ie <= 8"],"dependencies":{"vue":"^2.5.16","convert-units":"^2.3.4"},"eslintConfig":{"env":{"node":true},"root":true,"rules":{},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"}},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@vue/cli-service":"^3.0.0-rc.7","@vue/cli-plugin-babel":"^3.0.0-rc.7","vue-template-compiler":"^2.5.16","@vue/cli-plugin-eslint":"^3.0.0-rc.7"},"_npmOperationalInternal":{"tmp":"tmp/vue-convert-units_0.1.0_1543109405572_0.37789198205523267","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@codekraft-studio/vue-convert-units","version":"0.1.1","author":{"name":"b4dnewz","email":"filippo@codekraft.it"},"_id":"@codekraft-studio/vue-convert-units@0.1.1","maintainers":[{"name":"b4dnewz","email":"filippo@codekraft.it"}],"dist":{"shasum":"e08ad14f177c904f26f7c3b09a4f6340cc53349b","tarball":"https://registry.npmjs.org/@codekraft-studio/vue-convert-units/-/vue-convert-units-0.1.1.tgz","fileCount":10,"integrity":"sha512-wqHLZQpBsdA9mBbGyLDpIIBMHB9tkY+6m+vfmzChrBoHh6RRE+HIhTDbJguBA+1LsUL0B3GQzweRjgEqBsfWOg==","signatures":[{"sig":"MEYCIQDnqdo0xQXH0a2U78Sn9U7cRV0YDYMe70yq/VGH2Vo5RQIhAO4KIDIiNj8HMCDMEfiHYJnLJvZ0QP6h66v7Zo9WxWL+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":561278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcR0gHCRA9TVsSAnZWagAAfagQAJBtF2TghJ/1BXRzDLss\nsLWSGdatjvp8ZFFioffyJNYYGDzewZmKD6MJ22a5Uido/Qu/eLr19b9ZfPeZ\nS/QujcpsYOQDwwOCBFlZGKAMT9XuwpAgL92F51YtKbVxqRofmPcNlnzNQmvh\n9p4Cu8/bSnZ1BXJtk1jMFTqQEXu2734FVHoKpTdlXX/tET/+1NxU3tpLdFvI\nou+NbUvzfNMGexyhyREjoE4GpkXd+hHeutQjigKS23jmmAmoNtef1nmEQuDr\nmW3aWKujubK5DBaDH7SMGhMmt4Br4q89URg0tz+SCZCSVzODVVOS//9SZYU3\niMg8RhCcDSD0Fwg7TvPkQMqVEQiME0gylv8NVMJaA54hFp5JPoElN7dUAiUf\n4swIkOW6q3ZtngLg1qtMBYNpEUrNdargyuPeLiAJW6RS2x4P6StjNwrpn++l\nwkTu1NNuOgMxsRm6SlLbhbNaQyPX2tpHWm+qBH39KWNkuziRbgmmiM+Xgcpv\nfekrrsJ7E22GcqLNluXGbSm4HdcKw33peO2WTgkBk1ot+gekKIgPc9lNotcO\n5FW8mHp9mbA+U3iuV7B64EE2Ftgn44EfTGpcs8QLxYF39Qn9KYgdmXQA8mmr\ngazmpcm2r/jPM6yAw4qdDge7PiB5//uEvDuu0k/Wsb9NmZf5Q+n1/6g6DNfI\nbp+K\r\n=/7oE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/VueConvertUnits.umd.js","gitHead":"66c0999c14671178a84f8ec14e225a58d7706dc5","postcss":{"plugins":{"autoprefixer":{}}},"private":false,"scripts":{"lint":"vue-cli-service lint","build":"vue-cli-service build --target lib --name VueConvertUnits ./src/ConvertUnits.js","serve":"vue-cli-service serve","build:demo":"vue-cli-service build --dest docs","publish:demo":"git subtree push --prefix docs origin gh-pages"},"_npmUser":{"name":"b4dnewz","email":"filippo@codekraft.it"},"_npmVersion":"6.3.0","description":"Convert units with vue integrating convert-units","directories":{},"_nodeVersion":"8.9.1","browserslist":["> 1%","last 2 versions","not ie <= 8"],"dependencies":{"vue":"^2.5.16","convert-units":"^2.3.4"},"eslintConfig":{"env":{"node":true},"root":true,"rules":{},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"}},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@vue/cli-service":"^3.0.0-rc.7","@vue/cli-plugin-babel":"^3.0.0-rc.7","vue-template-compiler":"^2.5.16","@vue/cli-plugin-eslint":"^3.0.0-rc.7"},"_npmOperationalInternal":{"tmp":"tmp/vue-convert-units_0.1.1_1548175367203_0.7441153105759701","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-11-25T01:30:05.442Z","modified":"2024-08-10T13:19:51.029Z","0.1.0":"2018-11-25T01:30:05.732Z","0.1.1":"2019-01-22T16:42:47.338Z"},"author":{"name":"b4dnewz","email":"filippo@codekraft.it"},"description":"Convert units with vue integrating convert-units","maintainers":[{"email":"erikyo83@gmail.com","name":"erikyo"},{"email":"filippo@codekraft.it","name":"b4dnewz"}],"readme":"# vue-convert-units\r\n\r\n> A VueJs wrapper for convert-units module\r\n\r\nSee it in action on the [demo](https://codekraft-studio.github.io/vue-convert-units/).\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-convert-units\r\nyarn install @codekraft-studio/vue-convert-units\r\n```\r\n\r\nThis command will download __this project__ and the [convert-units](https://github.com/ben-ng/convert-units) package by [ben-ng](https://github.com/ben-ng).\r\n\r\nThan load it inside your application main file:\r\n\r\n```js\r\nimport Vue from 'vue'\r\nimport VueConvertUnits from '@codekraft-studio/vue-convert-units'\r\n\r\nVue.use(VueConvertUnits)\r\n```\r\n\r\nUsing it is very simple since it maps to __convert-units__ method, below an example of the basic usage:\r\n\r\n```html\r\n<p>{{12000 | convert('m', 'best')}}</p>\r\n<p>{{units | convert(unitsFrom, 'best')}}</p>\r\n```\r\n\r\nYou can refer to the [original documentation](https://github.com/ben-ng/convert-units#usage) to see how it's working in details.\r\n\r\n---\r\n\r\n## Development\r\n\r\nIf you want to help in the development of this project fork the repository than follow this instructions to setup the development environment.\r\n\r\n```\r\nyarn install\r\n```\r\n\r\n#### Compiles and hot-reloads for development\r\n\r\nThis starts the development server with files watching and hot modules replacement.\r\n\r\n```\r\nyarn run serve\r\n```\r\n\r\n#### Compiles and minifies for production\r\n\r\nThis build the source code into the final minified distribution in various formats.\r\n\r\n```\r\nyarn run build\r\n```\r\n\r\n#### Lints and fixes files\r\n\r\nThis command ensure all files are linted according to the project rules before committing them into the repository.\r\n\r\n```\r\nyarn run lint\r\n```\r\n\r\n---\r\n\r\n## Contributing\r\n\r\n1. Create an issue and describe your idea\r\n2. Fork the project (https://github.com/codekraft-studio/vue-convert-units/fork)\r\n3. Create your feature branch (`git checkout -b my-new-feature`)\r\n4. Commit your changes (`git commit -am 'Add some feature'`)\r\n5. Publish the branch (`git push origin my-new-feature`)\r\n6. Add some test for your new feature\r\n7. Create a new Pull Request\r\n\r\n---\r\n\r\n## License\r\n\r\nThis package is released under [MIT License](LICENSE).\r\n","readmeFilename":"README.md"}