@zhaiun/prettier-plugin-weapp-miniprogram weekly downloads statistics
By zhaiun (2 listings) · npm · Prettier plugins
微信小程序自定义prettier
@zhaiun/prettier-plugin-weapp-miniprogram has 2 recorded weekly downloads on npm, a decrease of 83.3% over the past 30 days, ranking #2271 of 2,322 tracked listings.
About @zhaiun/prettier-plugin-weapp-miniprogram
小程序 prettier
文件结构
├── lib
│ ├── index.js
│ ├── scss
│ │ ├── embed.js
│ │ ├── parse.js
│ │ └── print.js
│ ├── utils
│ │ └── index.js
│ └── wxml
│ ├── embed.js
│ ├── parse.js
│ ├── parseTemplate.js
│ └── print.js
使用方式
-
安装 vscode 插件 都需要安装 Prettier 其他需要安装插件情况:
- scss:需要安装 SCSS Formatter 的插件,并在.scss文件下使用command + shift + p,输入 format Document... ,将默认格式化程序选择为 SCSS Formatter。
-
安装依赖(需要安装 eslint)
yarn add @zhaiun/prettier-plugin-miniprogram --dev
-
添加至项目中
-
在 .rettierrc 文件中添加
module.exports = { ... overrides: [ ... { files: ['*.wxml'], options: { parser: 'wxml' }, processor: "@zhaiun/weapp-miniprogram/wxml", parser: "@wxml/parser" }, { files: ['*.scss'], options: { parser: 'scss' }, processor: "@zhaiun/mweapp-iniprogram/scss", parser: "@scss/parser" } ], };
-
-
配置完以上步骤后,需要重新启动 vscode ,command + Q退出,重新打开即可。
参考文档
TODO
- 自动将不符合规范的
bindxxx事件转化为bind:xxx
Description from the npm listing.
- prettier
- prettier-plugin
- weapp
- wxml
- miniprogram
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (122)Similar npm Prettier plugins plugins
All 20 @zhaiun/prettier-plugin-weapp-miniprogram alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@zhaiun/prettier-plugin-weapp-miniprogram. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.