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

slc-tools

v1.0.1

Published

Private toolkit including project components and common methods

Downloads

9

Readme

my-tools

Project Desc

  • 这个项目是私人项目,主要是自己的工具库,组件库
  • 基于 vue 开发,依赖[email protected]

组件

通用弹窗 commonDialog

  • params visiable Boolean
  • params title String "请输入用户信息"
  • params btn Object { style: { background: 'red', color: 'white' }, text: '确定' }
  • params loading Boolean
  • 表单验证通过 @valid="cb"

页面初始弹窗 initDialog

  • params loading 周五好累,以后完善

  • params visiable Boolean

  • params mainImg String require('/static/img/200-301.jpg')

  • slot title ` 少时诵诗书 libai 不急网络挣我钱

方法

checkNumber

- @param {string} type - The type of data to retrieve (options: "phone","whatsapp").
- @param {string} phone_number - The phone number to validate.(example: "15812341929")
- @param {string} country_code - The country code of the phone number. (example: "CN")
- @return {Promise} A promise that resolves to the retrieved data.

getIP

- @return {Promise<string>} The IP address as a string.

getActiveTopText

- @return {Promise<string>} 活动顶部文案

通用数据

countryData 全球国家代码信息

 {
    english_name: "United Arab Emirates",
    chinese_name: "阿拉伯联合酋长国",
    country_code: "AE",
    phone_code: "971",
  },

版本说明

1.0.0 初始功能版本 1.0.1 添加落地页活动顶部文案接口