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

stream-coding

v0.0.2

Published

n-stream-coding will make you fill more easy、relax and happy

Downloads

2

Readme

stream-coding

make development more easy、relax and happy. stream-coding 是一个以配置为优先为核心概念的辅助库,核心目的只为打造全配置化的项目开发。

API

init(options)

初始化业务执行的一些基本配置

options

  1. appName:[String] --应用名称
  2. busiLineConfigPath:[String|Array]--当前应用所有执行的业务流的配置文件地址,为了开发过程中的团队沟通方便等因素可以将配置文件拆开,然后用数组表示;(目前只支持.js和.json)
  3. busiNodeRoot:[String] --当前应用所有执行的业务流程处理器的根路劲
  4. plug_dao:[Object|Array(Object)] :数据操作自定义/第三方模块
    1. engine: mysql|postgres|mongodb|redis
    2. package:[option] 待加载的包名(如果实现是在第三方的npm包的话则声明该包名)
    3. classPath:[option] 待加载的地址(当前项目目录内的)
    4. ctorOption:数据引擎连接的设置选项
    5. configFiles:[String|Array]--(可选)此engine模式下的当前应用所有流程过程中所需的sql语句的配置文件地址
    6. alias 插件别名--用于将此组件注入进processor处理器的时的调用名称 note:package比classPath的优先级高,如果设置了package那么则不会再去读取classPath的地址
  5. plug_remoteMsg:[Object|Array(Object)]:自定义/第三方 远程信息调用、传输
    1. engine: rabbitmq|protobuf|redis
    2. package:[option] 待加载的包名(如果实现是在第三方的npm包的话则声明该包名)
    3. classPath:[option] 待加载的地址(当前项目目录内的)
    4. ctorOption:通信连接的设置选项
    5. configFiles:[String|Array]--(可选)此engine模式下相关逻辑配置文件地址
    6. alias 插件别名--用于将此组件注入进processor处理器的时的调用名称
  6. plug_thirdIntf: 第三方接口调用定义
    1. alias: [String] 第三方接口别名
    2. ssl:[String] https设置- 如果此设置为空,那么默认采取http方式 2.1 key: 公钥地址 例: ssl-key.pem 2.2 cert: 证书地址 例: ssl-cert.pem
    3. url: [String] 第三方请求的url
    4. method: [String] 请求第三方地址的动作:'GET|POST|DELETE|PUT|OPTION',默认是GET
    5. configFiles:[String] 调用第三方接口所需参数配置文件地址
    6. encode:返回数据的编码格式 默认接收什么返回什么;