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

herdsric_miniapp_template

v1.0.2

Published

lottie npm

Downloads

8

Readme

// 这是一个关于本小程序模板的简要介绍 按照文件至上而下描述 1.component 为项目抽离的组件。 目前自带的loading组件及lottle渲染动画组件。其中loading组件由load,load-group,loading3个文件夹构成,其中load文件夹中需要填入下载图片文件夹。用户只需要在load文件夹中的imgs.js文件的directories数组中写入图片文件夹名称,并在images中配置该文件夹即可使用 lottie组件只需要在lottie/index文件夹中将pathArr的路径改为需要渲染动画的网络地址,并在对应的页面引入组件即可使用(有局限,部分ui设计的动画不难做到完美展示) 2.images 为loading组件配置的下载图片文件夹 3.miniprogram_npm 为引入的lottie插件 4.pages 为开发搭建的页面 5.utils 为功能模块。其中functiontools为常用的一些方法夹。md5为加密文件,使用方法看文件。newVersionUpdata为检索小程序是否更新,在app.js引入即可,util为常用处理方法,weapp-qrcode为生成二维码,使用方法看文件 其中https为封装的接口文件夹。需要配置接口信息请写在api文件中,配置接口请求头修改http文件 其中statistics为埋点文件夹,用户做埋点时需要去对应官网下载好js文件再替换到本项目 其中config文件为项目基础配置文件。base_api_url为接口地址,imgsDomain为图片域名,trackArr为按需引入埋点数组 6.app.js 为公共js文件 7.app.json 为配置文件 8.app.wxss 为公共css文件