presidium 3.7.1 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +23 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Presidium
2
2
  ![presidium](https://rubico.land/assets/presidium-logo-3-w200.jpg)
3
3
 
4
+ A library for creating web services.
5
+
4
6
  Source code: [GitHub](https://github.com/richytong/presidium) |
5
7
  License: [CFOSS](https://cloutsworld.com/en-us/legal/license/cfoss)
6
8
 
@@ -8,7 +10,23 @@ License: [CFOSS](https://cloutsworld.com/en-us/legal/license/cfoss)
8
10
  [![codecov](https://codecov.io/gh/richytong/presidium/branch/master/graph/badge.svg)](https://codecov.io/gh/richytong/presidium)
9
11
  [![npm version](https://img.shields.io/npm/v/presidium.svg?style=flat)](https://www.npmjs.com/package/presidium)
10
12
 
11
- A library for creating web services.
13
+ ### Presidium WebSocket
14
+
15
+ Source code: [GitHub](https://github.com/richytong/presidium-websocket) |
16
+ License: [CFOSS](https://cloutsworld.com/en-us/legal/license/cfoss)
17
+
18
+ ![Node.js CI](https://github.com/richytong/presidium-websocket/workflows/Node.js%20CI/badge.svg)
19
+ [![codecov](https://codecov.io/gh/richytong/presidium-websocket/branch/master/graph/badge.svg)](https://codecov.io/gh/richytong/presidium-websocket)
20
+ [![npm version](https://img.shields.io/npm/v/presidium-websocket.svg?style=flat)](https://www.npmjs.com/package/presidium-websocket)
21
+
22
+ ### Presidium DB
23
+
24
+ Source code: [GitHub](https://github.com/richytong/presidium-db) |
25
+ License: [CFOSS](https://cloutsworld.com/en-us/legal/license/cfoss)
26
+
27
+ ![Node.js CI](https://github.com/richytong/presidium-db/workflows/Node.js%20CI/badge.svg)
28
+ [![codecov](https://codecov.io/gh/richytong/presidium-db/branch/master/graph/badge.svg)](https://codecov.io/gh/richytong/presidium-db)
29
+ [![npm version](https://img.shields.io/npm/v/presidium-db.svg?style=flat)](https://www.npmjs.com/package/presidium-db)
12
30
 
13
31
  ## Installation
14
32
  with [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm):
@@ -358,8 +376,8 @@ const data = await googleChromeDevTools.Page.navigate({
358
376
  const DiskHashTable = require('presidium-db/DiskHashTable')
359
377
 
360
378
  const ht = new DiskHashTable({
361
- storageFilepath: '/path/to/storage-file',
362
- headerFilepath: '/path/to/header-file',
379
+ storageFilepath: '/path/to/ht-storage-file',
380
+ headerFilepath: '/path/to/ht-header-file',
363
381
  initialLength: 1024,
364
382
  })
365
383
  await ht.init()
@@ -377,8 +395,8 @@ await ht.delete('my-key')
377
395
  const DiskSortedHashTable = require('presidium-db/DiskSortedHashTable')
378
396
 
379
397
  const sortedHt = new DiskSortedHashTable({
380
- storageFilepath: '/path/to/storage-file',
381
- headerFilepath: '/path/to/header-file',
398
+ storageFilepath: '/path/to/sortedHt-storage-file',
399
+ headerFilepath: '/path/to/sortedHt-header-file',
382
400
  initialLength: 1024,
383
401
  })
384
402
  await sortedHt.init()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presidium",
3
- "version": "3.7.1",
3
+ "version": "3.8.0",
4
4
  "description": "A library for creating web services",
5
5
  "author": "Richard Tong",
6
6
  "license": "CFOSS",