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

awesome-gadgets

v4.5.8

Published

Storage, management, compilation, and automatic deployment of MediaWiki gadgets.

Downloads

311

Readme

NPM version Linter

简介Introduction

Awesome Gadgets 是面向 MediaWiki 网站,用以统一存储、管理并编译全站小工具(Gadget)的工具。小工具开发者只需关心小工具本身的代码实现,无需关心其他方面。工具将自动检查语法、编译并部署到网站。Awesome Gadgets is a tool designed specifically for MediaWiki websites, with the goal of centralizing the storage, management, and compilation of all site-wide CSS/JavaScript and their peer pages. Developers of these gadgets can solely focus on implementing the code for their creations without the need to worry about other aspects. The tool will automatically check the syntax, compile, and deploy gadgets to the website.

  • 使用 esbuild 编译,通过 Babel 转译现代语法以获得良好的浏览器兼容性Compile using esbuild and transpile modern syntax with Babel for good browser compatibility
  • 可以编写 TypeScript 和 Less,支持 CSS 和 Less 模块,可以使用 jsx-dom,可以使用 Vue 组件Support writing files in TypeScript and Less, support CSS/Less modules, jsx-dom components and Vue components
  • 支持引用 ResourceLoader 模块Support requiring ResourceLoader built-in modules
  • 支持向多个站点部署并独立控制启用与否Support deploying to multiple sites and independently control whether to enable/disable them
  • 自动部署Automatic deployment
    • MediaWiki:Gadgets-definition
    • MediaWiki:Gadget-section-*(支持自动转换中文变体)/ (with automatic conversion of Chinese variations)
    • MediaWiki:Gadget-*(支持自动转换中文变体)/ (with automatic conversion of Chinese variations)
    • MediaWiki:*.{js, css}
  • 自动从网站内删除曾经部署过但现在不再需要的页面Automatically delete pages that have been deployed on the website but are no longer needed

用法Usage

文档See documentation.

最佳实践Best practices