@thi.ng/file-io 2.1.6 → 2.1.8

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-07-06T12:02:18Z
3
+ - **Last updated**: 2024-07-22T13:15:57Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/file-io](https://media.thi.ng/umbrella/banners-20230807/thing-file-io.svg?86fa755f)
3
+ # ![@thi.ng/file-io](https://media.thi.ng/umbrella/banners-20230807/thing-file-io.svg?5f261db9)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/file-io.svg)](https://www.npmjs.com/package/@thi.ng/file-io)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/file-io.svg)
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 188 standalone projects, maintained as part
10
+ > This is one of 198 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -18,6 +18,7 @@
18
18
  - [Status](#status)
19
19
  - [Installation](#installation)
20
20
  - [Dependencies](#dependencies)
21
+ - [Usage examples](#usage-examples)
21
22
  - [API](#api)
22
23
  - [Authors](#authors)
23
24
  - [License](#license)
@@ -64,6 +65,18 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.05 KB
64
65
  - [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/develop/packages/logger)
65
66
  - [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random)
66
67
 
68
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
69
+
70
+ ## Usage examples
71
+
72
+ One project in this repo's
73
+ [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
74
+ directory is using this package:
75
+
76
+ | Screenshot | Description | Live demo | Source |
77
+ |:---------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------|:---------------------------------------------------------------------------------|
78
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/package-stats.png" width="240"/> | CLI util to visualize umbrella pkg stats | | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/package-stats) |
79
+
67
80
  ## API
68
81
 
69
82
  [Generated API docs](https://docs.thi.ng/umbrella/file-io/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/file-io",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "Assorted file I/O utils (with logging support) for NodeJS/Bun",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,11 +36,11 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.5",
40
- "@thi.ng/checks": "^3.6.7",
41
- "@thi.ng/hex": "^2.3.49",
42
- "@thi.ng/logger": "^3.0.15",
43
- "@thi.ng/random": "^3.8.4"
39
+ "@thi.ng/api": "^8.11.7",
40
+ "@thi.ng/checks": "^3.6.9",
41
+ "@thi.ng/hex": "^2.3.51",
42
+ "@thi.ng/logger": "^3.0.17",
43
+ "@thi.ng/random": "^4.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.47.0",
@@ -123,5 +123,5 @@
123
123
  "status": "stable",
124
124
  "year": 2022
125
125
  },
126
- "gitHead": "ba4f2cd15eeb0cae30efe222524da4fed2a57267\n"
126
+ "gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
127
127
  }