Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@dcloudio/uni-nvue-styler

Package Overview
Dependencies
Maintainers
10
Versions
477
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcloudio/uni-nvue-styler

uni-nvue-styler

latest
Source
npmnpm
Version
3.0.0-alpha-4060120250422001
Version published
Maintainers
10
Created
Source

@dcloudio/uni-nvue-styler

跨平台 css 解析。 css 字符串转对象,css 缩写展开,不支持特性告警、容错。

项目结构

src/index.ts 里导出的 parse 是完整流程,可供编译。

  • 自定义了两个 postcss 插件 expandnormalize,交给 postcss 进行处理。
  • 得到的结果交给 objectifier 转为客户端接受的对象类型

lib/css.json 文件来自 syntax 自动生成,无需修改。

FAQs

Package last updated on 22 Apr 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