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

itg-web-enhance

v1.1.8

Published

Enhancement script for ITG webpages

Downloads

29

Readme

ITG-Web-Enhance

Enhancement script for websites of Xiamen ITG Group Corp., Ltd.

开发说明

  1. 使用typescript开发,开发过程中建议打开编辑器的类型检查。
  2. 样式表使用scss编写。为避免不同站点样式互串,使用形如iwe-<sitename>-foo的形式给类命名。
  3. 对于直接修改原有内容样式的页面,使用scss编写后通过import styles from './foo.scss' assert { type: 'string' };的格式导入,styles会被读取为字符串,然后通过DOM操作添加到文档;如果不使用断言,webpack则会通过css-loader和style-loader将其直接加到文档。

关于发布

  • 工具打包通过脚本生成油猴脚本头部,版本号和匹配网站会从package.json中读取。
  • 版本的发布使用github actions进行,每当dist/itg-web-enhance.js发生变化时触发推送npm,因此需要注意每次构建时更改package.json中的版本号,否则会推送失败。

TODO

更新日志

2024-03-29 v1.1.7

  • 修复OA粘贴实际不生效的问题。
  • 修正弹窗等样式的错误。

2024-03-27 v1.1.5

  • 新增对物流中台的样式优化;
  • rancher和jenkins支持通过Ctrl+G快捷键聚焦到搜索框。

2024-03-26 v1.1.4

  • 修复rancher重复生成设置按钮的问题。

2024-03-25 v1.1.1

  • 新增jenkins的构建页和详情页复制镜像链接功能;
  • 修复rancher在错误页面生成按钮的问题。

2024-03-25 v1.1.0

  • 新增对CODING的样式优化。

2024-03-24 v1.0.0

  • 初版发布。