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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@finoer/finoer-store

v0.0.5

Published

> fino数据仓库

Downloads

9

Readme

fino-database

fino数据仓库

fino架构下的数据仓库, 用与管理fino子模块的数据和通信

1. 简介

  1. 全局单例模式

  2. 独立命名空间和代理

    fino数据仓库会按照子模块的名字创建一系列的命名空间,

    为每个子模块设置单独的存储区域。

    同时,为了让开发人员更快,更友好的使用

    会把当前子模块的数据代理到根对象下面

    ![3761](/Users/wangdongxu/Library/Application Support/typora-user-images/image-20201217114831097.png)

    所以开发人员的访问链条是这样的。

    $data.yueqi_module001.name

    但是fino-database做了一层代理, 代理之后的访问链条

    $data.name.

    即数据仓库会把当前模块的数据和全局数据代理到根访问链下。

  3. 数据安全

    当前模块不允许修改其他模块的数据

    如当前在yueqi_module001下面

    是不允许修改其他模块的数据的。

    例如, 运行了如下代码

    $data.data.jinzhao_module001.name = 123

    会被拦截

  4. 数据监听

可以通过监听方法坚挺到数据的改变

  1. 设置全局方法和命名空间方法

  2. 每个子模块的数据各自独立

  3. 通过set设置的新数据会自动代理到跟访问连下面

  4. 全局数据管理global

    可以通过

    $data.set({key1: 1}, 'global')

    来给fino设置一个全局数据

    全局数据会被代理到数据仓库根prototype下面, 其他子模块可以通过

    $data.key1

    访问全局数据

  5. 其他子模块的数据