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

enerpro_admin_computing_service

v1.2.4

Published

wget https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.xz #### 2.解压到指定目录下 一般是/usr/local目录下 tar xf /home/sixmillions/node-v12.16.1-linux-x64.tar.xz -C /usr/local/ cd /usr/local

Downloads

32

Readme

Enerpro Computing Service

Linux 中运行

1.安装 Node

wget https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.xz

2.解压到指定目录下

一般是/usr/local目录下
tar xf /home/sixmillions/node-v12.16.1-linux-x64.tar.xz -C /usr/local/
cd /usr/local

进入/usr/local,重命名(因为太长了,怪怪的,可以不重命名)
mv node-v12.16.1-linux-x64 node-v12.16.1

3.配置环境变量

vim /etc/bashrc

# 加入:
export NODE_HOME=/usr/local/node-v12.16.1
export PATH=$NODE_HOME/bin:$PATH

#生效
source /etc/bashrc

4.测试

node -v
npm -v

5.全局安装

npm install -g enerpro_admin_computing_service

6.运行命令

enerpro_admin_computing_service  --json-file-path JSON文件路径 --request-api 请求地址及socket访问地址

命令参数

--json-file-path JSON文件路径 [必需]
--request-api 请求地址+socket地址 [必需]
--computing-id 图形ID


Versions

v1.2.4

  • 修改执行时间间隔改为5分钟

v1.2.3

  • 更新值去除推送值与属性历史值相等判断 dictionaries[key][index]['value'] !== value

v1.2.2

  • 增加大于、小于、比较组件

v1.2.1

  • 更新操作文档
  • 增加相除、相乘组件

v1.2.0

  • 增加socket io 连接断开重连功能

v1.1.8

  • 调整接口地址去掉/project/api

v1.1.7

  • 调整接口地址及socket访问方式,环境变量访问改为通过命令request-api进行设置

v1.1.6

  • 增加相减组件

v1.1.4

  • index.js 运行中 Promise函数增加catch输出

v1.1.3

  • 统计用量组件增加通过属性值 true\false 进行控制事件执行程序功能
  • 修改图形执行周次,改为 1s 执行一次
  • 修改插入值判断,value 为 null 或者 undefined 阻止插入

v1.1.2

  • 修改数据更新判断,相同值不同时间不能更新改为值不为 null 不同时间即更新
  • 修改 README.md 文件,添加部署运行使用说明

v1.1.1

  • 修改用量计算组件循环数据处理逻辑,添加 Promise 异常抛出错误信息

v1.1.0

  • 删除 enerpro_admin_computing_statistics_days_service 命令
  • 添加循环次数及插入值信息打印
  • 删除 custom 文件夹,修改 index.js 中不同组件运行逻辑

v1.0.9

  • 修改 enerpro_admin_computing_statistics_days_service 命令

v1.0.8n

  • 去除 query-string 包

v1.0.7

  • 增加计算最近用量统计服务
  • 封装 api 接口 /plugin/axios.js
  • 增加时间处理方法 /libs/timeHandling.js
  • 增加数值、事件循环组件

v1.0.6

  • 调整 socket 连接参数
  • 增加信息打印输出

v1.0.5

  • 修改 yargs 参数命令
  • 增加 log 日志记录

v1.0.4

  • 增加环境变量读取接口地址
  • socket 订阅频道改为自动获取