{"id":19782481,"url":"https://github.com/dracotmolver/unit-converter","last_synced_at":"2026-05-06T09:40:38.745Z","repository":{"id":212822441,"uuid":"61502893","full_name":"DracotMolver/unit-converter","owner":"DracotMolver","description":"Convert some units used in CSS such as px, pt, %, em, hex and rgb.","archived":false,"fork":false,"pushed_at":"2020-09-30T22:58:14.000Z","size":2636,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T12:57:17.018Z","etag":null,"topics":["css","css-units","extension","rgb","unit-converter","visual-studio-code-extension","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/DracotMolver.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-06-19T22:14:01.000Z","updated_at":"2020-09-30T22:58:16.000Z","dependencies_parsed_at":"2023-12-16T15:56:55.015Z","dependency_job_id":null,"html_url":"https://github.com/DracotMolver/unit-converter","commit_stats":null,"previous_names":["dracotmolver/unit-converter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DracotMolver/unit-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DracotMolver%2Funit-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DracotMolver%2Funit-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DracotMolver%2Funit-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DracotMolver%2Funit-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DracotMolver","download_url":"https://codeload.github.com/DracotMolver/unit-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DracotMolver%2Funit-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32687873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","css-units","extension","rgb","unit-converter","visual-studio-code-extension","vscode-extension"],"created_at":"2024-11-12T06:05:18.653Z","updated_at":"2026-05-06T09:40:38.713Z","avatar_url":"https://github.com/DracotMolver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UnitConverter\n![logo](https://github.com/DracotMolver/UnitConverter/blob/master/images/unitimg.png)\n[![Build Status](https://travis-ci.org/DracotMolver/unit-converter.svg?branch=master)](https://travis-ci.org/DracotMolver/unit-converter)\n[![Visual Studio Marketplace](https://img.shields.io/vscode-marketplace/d/DiegoMolina.unitconverter.svg)](https://marketplace.visualstudio.com/items?itemName=DiegoMolina.unitconverter)\n[![Visual Studio Marketplace](https://img.shields.io/vscode-marketplace/v/DiegoMolina.unitconverter.svg)](https://marketplace.visualstudio.com/items?itemName=DiegoMolina.unitconverter)\n[![license:mit](https://img.shields.io/badge/license-mit-blue.svg)](https://opensource.org/licenses/MIT)\n![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/DracotMolver/unit-converter)\n\n## Just the rights units\nUnit converter will work like this:\n\u003cbr /\u003e\n* From: **px** to **em** and **em** to **px**\n* From: **Hex** ('#') to **rgb | rgba** and **rgb | rgba** to **Hex**\n\n\u003e**Important:** Don't remove the unit from the text you are selecting on the actived text editor. It's important to know from which unit are you going to convert.\n\nThe extension will work too with colors names such as **black**, **white**, **aquamarine**, **yellowgreen** and so on; converting all of them to their hexadecimal value\n\n\u003cbr /\u003e\n\n## How to\n* **Setting the value**\n\nTo use **Unit Converter** you have to press down `F1` and type `unit converter`.\nYou will get a list of units (**px, em, #, rgb, rgba**). Then, it will appear an input box where you have to type or set the value to convert.\nFinally, you will get a promptt with the new value.\n\n![Unit Converter](images/unit-01.gif)\n\n\n* **Selecting the value(s) from the text editor**\n    There are several ways to select and convert one or more values. To make any of this way to work, you must select the `unit + value`\n\n    * **One value**\n    ![Unit Converter](images/unit-02.gif)\n    \n    * **Same values (two or more)**\n    ![Unit Converter](images/unit-03.gif)\n\n    * **Differents Values (Two or more)**\n    ![Unit Converter](images/unit-04.gif)\n\n    * **From a range of selected text**\n    ![Unit Converter](images/unit-05.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracotmolver%2Funit-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdracotmolver%2Funit-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracotmolver%2Funit-converter/lists"}