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

newbeely-nodejs

v1.3.9

Published

简单易用的轻量级nodejs服务框架. 框架简单到只有组件逻辑,不同的组件提供不同的服务,使用外部的配置文件(只有一个配置文件)方便的组合成一个完整的服务框架. 整个服务使用bearcat(网易开源的nodejs面向切面编程的轻量级框架(AOP))管理,极大的解耦组件间的耦合.(关于代码热更新后续开放).

Readme

newbeely

简单易用的轻量级nodejs服务框架.
框架简单到只有组件逻辑,不同的组件提供不同的服务,使用外部的配置文件(只有一个配置文件)方便的组合成一个完整的服务框架.
整个服务使用bearcat(网易开源的nodejs面向切面编程的轻量级框架(AOP))管理,极大的解耦组件间的耦合.(关于代码热更新后续开放).

网络服务 支持http方式的api服务和基于express的web服务.
    1. http 组件: httpComponent
    2. express 组件: expressComponent
    3. 基于 web socket 和 socket io的长连接机制后续完善.
    
数据库支持mongodb,redis.
    1. mongodb 使用mongoose作为中间件
        mongooseComponent 纯粹的mongoose组件
        mongooseRedisCacheComponent 优化mongodb io压力. 用redis作为读取缓存.
    2. redis  使用连接池实现的一个redis客户端组件
    
分布式rpc组件(未完成)
    使用redis的subscribe机制广播作为rpc调用的机制 可以理解为借用redis实现一个mqtt协议的服务.
    
自动生成的项目带有pm2启动部署的配置文件(前提是安装pm2的linux系统下使用).
    根目录内的app.json 是一个描述pm2启动的配置,具体参数请产考pm2官方文档)
    根目录内提供了start和stop的shell脚本,直接在linux内启动服务.
    
补充:
    1. bearcat 官方目录 https://github.com/bearcatjs/bearcat
    2. pm2 官方目录 https://github.com/Unitech/pm2
    

Install

npm install newbeely-nodejs -g

Create project (on current direction)

newbeely init
newbeely init project-name

Components describe

httpComponent

expressComponent

mongooseRedisComponent

httpComponent

redisComponent