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

yirimixins

v1.0.1

Published

<!-- * @Author: your name * @Date: 2022-03-07 14:13:05 * @LastEditTime: 2022-03-08 14:17:57 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE *

Downloads

7

Readme

翌日科技前端 Mixins 方法文档

官方文档:https://cn.vuejs.org/v2/guide/mixins.html 说明:Mixins 所需的方法或者 Data 都在 data 里面声明,无需在页面写第二遍,如果写了系统的,会覆盖掉 Mixins 的内容。 注意:不要随意改任何 Mixins 名称,涉及到导出导出,上传等参数的调用

表单类

MXformData:{} MXResetForm(ref,obj) 清空表单的方法 obj=> 找不到 ref 的情况的销毁(选填) eg: ei-from ref="sysLogelForm"=> MXResetForm('sysLogelForm',obj)

表格类

MXIDs: [] 批量删除的 Key MXclickType: "", 表格数据点击后的 方法类型 edit=>编辑 view=>查看 add=>新增 delete=>删除(可扩充,用于表单状态判断,不要轻易更改) MXclickData: {}, 表格点击后的当前行数据(复制一套,避免修改后引起表格行内数据更换)

表格点击方法

//删除 IP:接口地址 MXDelete(row,IP) //批量删除 MXdeleteAll(IP)

定时任务类

MXIntervalData() 定时任务中执行的函数名称 MXsetIntervalTime 定时任务中执行时长 MXsetIntervalTime:1000

上传

下载

type:Select=>条件,user=>弹窗给用户选择 query 条件的参数类型 url 接口地址 MXdownload(type = "user", query = {}, url = "")