🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more
Socket
Book a DemoInstallSign in
Socket

@vkontakte/vkui-token-translator

Package Overview
Dependencies
Maintainers
11
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vkontakte/vkui-token-translator

Tools for translate Appearance to vkui-tokens

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
11
Created
Source

token-translator

В VKUI v5 мы отказываемся от Appearance в пользу vkui-tokens. Чтобы упростить переход, можно воспользоваться транслятором токенов. Обрабатывает css, less, scss, ts, tsx, js, jsx, svg, html файлы.

Перейдите в директорию с исходниками вашего проекта (обычно это src/) и запустите следующую команду:

npx @vkontakte/vkui-token-translator

Транслятор переводит не все токены. Замена на новые токены может быть не совсем семантически корректной.

FAQs

Package last updated on 20 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts