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

xs-plugins

v1.2.1

Published

向上后台插件库

Downloads

12

Readme

升级说明:

    0.0.11
    1. 正式环境, 自动化打包工具 配置参数为 --pro, 插件内部转译192
    0.0.12
    1. 兼容不以api开头的api地址
    0.0.13
    1. menu.js 自动推送菜单权限兼容非api开头接口
    2. 从 .vue 文件文本解析引用的api, 改为从 script 中解析引用api, 除$$router 下的 apis 外
    0.0.14
    重要更新
    1. api修改, 调用请求时, 需要带上请求类型, get请求可默认不带
        案例1: this.$api.hk.Jsy.Checkout.post()  带请求类型
        案例2:this.$api.Notice.n_oid() get请求, 可忽略类型
    0.0.15
    1. 修复0.0.14 api 调用, 丢失部分数据修复 (先长地址, 在短地址赋值, 长地址丢失)
    0.0.16
    1. 插件内部代码优化, 降低藕合, 插件入口 index.js
    2. api 插件, 支持 传参 mobileApi, 来指定即将要读取的swagger.json 地址
    0.0.17
    1. 支持传参 mobileApi: {key: {EndPoint:'url'}}, 来指定即将要读取的swagger.json 地址
    2. 支持传参 autoPath: '/***',  来指定文件生成的位置 (基于当前文件的相对位置)
    3. 支持传参 entry: '/***',  文件夹遍历位置 (基于当前文件的相对位置)
    4. 开发环境也开启自动推送
    0.0.18 (重要更新)
    1. 调用api, 增加 服务名
    2. 调用api, 切换 api 关键字 为 this.$ask
    3. 使用方式 this.$ask.hkmng.api.kh.Jsy.Checkout.post()
    0.0.19
    1. 修复 项目无 base.js 文件时 报错问题
    0.0.20
    1. 修复解析api调用时, 函数形式未被识别
    0.0.21
    1. 兼容 读取 client.js 文件时候, 变量不是 baseInfo
    0.0.22
    1. 修复 打包 时, 获取 swagger 文件 和 打包文件 同时进行, 造成的 api.js 读写较慢, 文件打包旧版 api 问题
    0.0.23
    1. 优化 菜单推送时候的版本号 version 时间戳 优化为 YYMMDDHHmm 的格式,方便查看
    0.0.24
    1. 自动生成时, api 请求地址 由 项目 key + api地址 改为 服务名 + api 地址 (请注意配套使用 xs-component, xs-common-plugins 相对应版本, 以避免造成程序api调用崩溃)
    0.0.25
    1. 优化 菜单推送时候的版本号 YYMMDDHHmm 的格式,bug 修复
    0.0.26
    1. 移除 api 生成无效代码, 导出 client.js 文件内容
    2. menu.js 生成的时候, 处理好菜单权限api中数组第一位 新版(通过 接口服务名 取模块Name), 旧版 (通过模块Id 取 模块name)
   1.0.0
   1. 插件库版本概念 、【1(大功能更新, 通常不向后兼容).0(小功能更新).0(bug 修复)】
   1.0.1
   1. 菜单生成时, 增加 sequ 字段, 用于后端对菜单进行排序
   1.0.2
   1. 兼容旧版api映射中, 服务名带数字
   1.0.3
   1. 测试
   1.0.4
   1. 兼容新版api写法, 服务名带数字
   1.1.0
   1. 文件编译时, npm run build --http:xxxxxxx 向插件指定 访问地址 (用于解决资金模块问题)
   1.1.1
   1. 开发功能 module.config.js 中配置参数 apiServersMap: {xxx: xxx}, 用于新版api生成, 改变 swagger 中默认的服务名
   1.1.2
   1. 兼容新版api写法, 服务名带_
   1.1.3
   1. 扩展参数, config 以适应更多不同应用场景
   1.2.0
   1.  api 生成时, 丢失部分api 问题修复