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

yysignature

v1.3.6

Published

height 非必传 string pdf框的高度,默认600 params 必传 object 签章要用到的字段,详见接口文档 userInfo 必传 object 登录系统的用户信息, baseUrl 必传 string 请求基础路径 token 非必传 string 请求token

Downloads

8

Readme

该组件依赖elementUI

本插件使用到了vue-drag-resize 使用前前先安装 vue-drag-resize#

该组件使用axios (^0.24.0) 进行数据交互

Attributes说明

height 非必传 string pdf框的高度,默认600 params 必传 object 签章要用到的字段,详见接口文档
userInfo 必传 object 登录系统的用户信息, baseUrl 必传 string 请求基础路径 token 非必传 string 请求token

Events说明

callBackPdf 签章后的回调 当parmas的flag字段为true时,值为签章后的pdf文件,格式为base64

事例:

export default { data(){ baseUrl:'http://aiuf4y.natappfree.cc/', userInfo: { userId:'hntc_ces', userName:'测试企业1' }, params:{ "fileId": "101010101", "title": "测试", "fileBase": pdfUrl, "keyword": "提供电子签章服务", "moveType": "1", "sealNum": "e189681ea78849ffbace251e635c9be1", "searchOrder": "1", "keywordIndex": "1", "heightMoveSize": "-100", "moveSize": "100", "sealHeight": "100", "sealWidth": "100", "dateformat": "2022年7月26日", "datefontSize": "12", "datefontStyle": "", "datefontColor": "", "sortOrder": "1", "flag": true, "keyWordRuleList": [ { "moveSize": "100", "keyword": "提供电子签章服务", "searchOrder": "1", "keywordIndex": "1", "moveType": "2", "heightMoveSize": "-160" } ] } }, methods:{ getPdf(e){ console.log(e,'pdfBase64') }, } }