0.0.1 • Published 8 years ago

check-version v0.0.1

Weekly downloads
158
License
MIT
Repository
github
Last release
8 years ago

check-version

Inspection Service version

I am more concerned about the latest version of some services, such as the commonly used nginx, jquery, nodejs like, I have become accustomed to the company every day to open the computer first thing to individually open each service's official website, and check the version number, then see if there are updates under changelog and other forms of, but I want to write a web service relies on nodejs do it ~

use

Only their own play, do not take it seriously

# Clone warehouse
git clone https://github.com/xuexb/check-version.git

# Enter directory
cd ./check-version

# Installation dependent libraries
npm install

# Run the compiler, the es6 code from the src directory compiled into lib
npm run compile

# run
npm start

The results are as follows:

nginx => 1.9.9
requirejs => 2.1.22
jquery 1.x => 1.12.0
jquery 2.x => 2.2.0
apijs => null
nodejs 5.x => 5.5.0
mdjs => 0.1.9
seajs 2.x => 2.2.3
seajs 3.x => 3.0.0
nodejs 4.x => 4.2.6
key-cache => 0.1.5
thinkjs 2.x => 2.1.3
------------------------
有 3 个更新
nginx 1.9.8 => 1.9.9
nodejs 4.x 4.2 => 4.2.6
mdjs 0.1.3 => 0.1.9

config.json

Profiles

{
    "rule": [
        {
            "name": "name",
            "url": "Access Path"
            "reg": "canonical"
        },
        {
            "name": "name",
            "url": "Access Path"
            "reg": "canonical"
            "match": "The results of the index matches the regular"
        },
        {
            "name": "mdjs",
            "url": "https://github.com/xuexb/mdjs/releases",
            "reg": "<span class=\"(tag-name|css-truncate-target)\">(.+?)</span>",
            "match": "$2"
        }
    ]
}
0.0.1

8 years ago