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 🙏

© 2026 – Pkg Stats / Ryan Hefner

drip-core

v1.0.0

Published

micro server development frame

Readme

简介

本框架基于koa,为水滴微服务开发框架核心,用于实现微服务应用可拆分、可组合,让微服务由"多微"变为"可微",解决微服务开发的一大痛点。

核心概念

drip - 水滴

水滴是框架的最小组成部分,每滴水滴就是一个含多个模块的微服务,可单独启动、开发和测试,水滴与水滴之间相互独立,不存在任何依赖关系。

loader - 加载器

加载器用于定义各个文件/模块的用途,每个加载器对应于一类文件或一类模块,如控制层模块、service模块等,其具体配置如下:

-- name

加载器名称,也是加载器将去加载的文件名或目录名。

-- mountName

挂载到app或server的名称,默认不指定则取name值。

-- mountType

文件支持的挂载形式,分为asyncMethod、method、path,如果为path则加载器只将读取文件路径。

-- require

当前加载器依赖的其他加载器名称。

-- beRequire

当前加载器被依赖的其他加载器名称。

-- init

加载器初始化方法。

-- onlySupportDir

是否只支持加载目录内文件。

-- onlySupportFile

是否只支持加载单一文件。

-- fileSuffix

指定加载文件的后缀名称,默认为js

-- injector

指定加载时的注入器。

-- context

指定挂载到ctx的值。