{"id":20467032,"url":"https://github.com/codekraft-studio/vue-convert-units","last_synced_at":"2025-07-27T20:35:03.015Z","repository":{"id":92944617,"uuid":"142600017","full_name":"codekraft-studio/vue-convert-units","owner":"codekraft-studio","description":"Convert units with vue integrating convert-units","archived":false,"fork":false,"pushed_at":"2019-01-22T16:46:20.000Z","size":362,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T12:47:45.899Z","etag":null,"topics":["conversion","conversion-library","vue-filters","vuejs"],"latest_commit_sha":null,"homepage":"https://codekraft-studio.github.io/vue-convert-units/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-27T16:25:32.000Z","updated_at":"2019-01-22T16:42:47.000Z","dependencies_parsed_at":"2023-04-14T17:04:09.445Z","dependency_job_id":null,"html_url":"https://github.com/codekraft-studio/vue-convert-units","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codekraft-studio/vue-convert-units","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-convert-units","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-convert-units/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-convert-units/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-convert-units/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekraft-studio","download_url":"https://codeload.github.com/codekraft-studio/vue-convert-units/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekraft-studio%2Fvue-convert-units/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267419259,"owners_count":24084138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["conversion","conversion-library","vue-filters","vuejs"],"created_at":"2024-11-15T13:26:49.893Z","updated_at":"2025-07-27T20:35:02.956Z","avatar_url":"https://github.com/codekraft-studio.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-convert-units\n\n\u003e A VueJs wrapper for convert-units module\n\nSee it in action on the [demo](https://codekraft-studio.github.io/vue-convert-units/).\n\n## Installation\n\nDownload the project using your favourite package manager:\n\n```\nnpm install @codekraft-studio/vue-convert-units\nyarn install @codekraft-studio/vue-convert-units\n```\n\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).\n\nThan load it inside your application main file:\n\n```js\nimport Vue from 'vue'\nimport VueConvertUnits from '@codekraft-studio/vue-convert-units'\n\nVue.use(VueConvertUnits)\n```\n\nUsing it is very simple since it maps to __convert-units__ method, below an example of the basic usage:\n\n```html\n\u003cp\u003e{{12000 | convert('m', 'best')}}\u003c/p\u003e\n\u003cp\u003e{{units | convert(unitsFrom, 'best')}}\u003c/p\u003e\n```\n\nYou can refer to the [original documentation](https://github.com/ben-ng/convert-units#usage) to see how it's working in details.\n\n---\n\n## Development\n\nIf you want to help in the development of this project fork the repository than follow this instructions to setup the development environment.\n\n```\nyarn install\n```\n\n#### Compiles and hot-reloads for development\n\nThis starts the development server with files watching and hot modules replacement.\n\n```\nyarn run serve\n```\n\n#### Compiles and minifies for production\n\nThis build the source code into the final minified distribution in various formats.\n\n```\nyarn run build\n```\n\n#### Lints and fixes files\n\nThis command ensure all files are linted according to the project rules before committing them into the repository.\n\n```\nyarn run lint\n```\n\n---\n\n## Contributing\n\n1. Create an issue and describe your idea\n2. Fork the project (https://github.com/codekraft-studio/vue-convert-units/fork)\n3. Create your feature branch (`git checkout -b my-new-feature`)\n4. Commit your changes (`git commit -am 'Add some feature'`)\n5. Publish the branch (`git push origin my-new-feature`)\n6. Add some test for your new feature\n7. Create a new Pull Request\n\n---\n\n## License\n\nThis package is released under [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekraft-studio%2Fvue-convert-units","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekraft-studio%2Fvue-convert-units","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekraft-studio%2Fvue-convert-units/lists"}