From e1765d1c3819a60dec8621dcc3a4db2637069a6c Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Mon, 30 May 2022 05:24:39 +0200 Subject: [PATCH] docs updated, tests added node 18 --- .github/workflows/test.yml | 6 +++++- CHANGELOG.md | 1 + README.md | 15 +++++++++++++-- docs/gettingstarted.html | 4 +++- docs/history.html | 5 +++++ docs/index.html | 2 +- 6 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7b4d34..55829ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,16 +11,20 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x] + node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x, 18.x] include: - os: macos-latest node-version: 14.x - os: macos-latest node-version: 16.x + - os: macos-latest + node-version: 18.x - os: windows-latest node-version: 14.x - os: windows-latest node-version: 16.x + - os: windows-latest + node-version: 18.x runs-on: ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ba96626..fce220b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 5.11.16 | 2022-05-30 | `docs` updated, `tests` added node 18 | | 5.11.15 | 2022-05-11 | `audio()` fix typescript typings | | 5.11.14 | 2022-04-22 | `netforkInterfaces()` node 18 compatibility | | 5.11.13 | 2022-04-21 | `networkStats()` improved scanning (mac OS) | diff --git a/README.md b/README.md index 8297a12..2ab6ba9 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,13 @@ Lightweight collection of 50+ functions to retrieve detailed hardware, system an ### Installation ```bash -$ npm install systeminformation --save +npm install systeminformation --save +``` + +or simpler + +```bash +npm install systeminformation ``` #### Still need Version 4? @@ -78,9 +84,14 @@ $ npm install systeminformation --save If you need version 4 (for compatibility reasons), you can install version 4 (latest release) like this ```bash -$ npm install systeminformation@4 —save +npm install systeminformation@4 —save ``` +or simpler + +```bash +npm install systeminformation@4 +``` ### Usage diff --git a/docs/gettingstarted.html b/docs/gettingstarted.html index e0ddf44..be7bdd1 100644 --- a/docs/gettingstarted.html +++ b/docs/gettingstarted.html @@ -69,7 +69,9 @@

This library is supposed to be used as a node.js backend/server-side library and will definitely not work within a browser.

Installation

-
$ npm install systeminformation --save
+
$ npm install systeminformation --save
+

or simpler:

+
$ npm install systeminformation

Usage

All functions (except version and time) are implemented as asynchronous functions. Here a small example how to use them:

const si = require('systeminformation');
diff --git a/docs/history.html b/docs/history.html
index 3fe058b..b1fafa8 100644
--- a/docs/history.html
+++ b/docs/history.html
@@ -57,6 +57,11 @@
                     
                   
                   
+                    
+                      5.11.16
+                      2022-05-11
+                      docs updated tests added node 18
+                    
                     
                       5.11.15
                       2022-05-11
diff --git a/docs/index.html b/docs/index.html
index c6c4b2e..bc890ad 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -170,7 +170,7 @@
       
       
systeminformation
 
-
New Version: 5.11.15
+
New Version: 5.11.16