npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

magix-combine

v3.12.1

Published

合并Magix View的html,js,css成一个js文件,并检测html,js,css中可能存在的问题

Downloads

807

Readme

magix-combine Version Number THX Team License download

npm install magix-combine

简介

按占位符规则把html、css文件打包进js文件。

功能

  1. 合并html,css,js成一个js文件。为什么不在打包上线时合并?
  2. css只在当前区块内生效。关于style的scope css模块
  3. 智能子模板离线数据提取及预处理
  4. CommonJS的写法,由工具加上相应的web loader
  5. 检测项目中样式:未使用的、重名的、不推荐的写法等问题。
  6. 检测项目中模板:使用未声明的选择器、未声明的变量、参数传递等问题
  7. 检测项目中js代码:从服务器获取的数据不确定,前端未做判断就使用引起的问题
  8. 编译、压缩html中的模板引擎语句

gulp使用示例

gulp使用示例

@占位符

@占位符说明

配置参数

配置参数