@thi.ng/file-io
Advanced tools
Comparing version 0.3.21 to 0.3.22
# Change Log | ||
- **Last updated**: 2022-11-30T22:27:37Z | ||
- **Last updated**: 2022-12-16T12:52:25Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
import type { ILogger } from "@thi.ng/logger"; | ||
export declare type HashAlgo = "gost-mac" | "md4" | "md5" | "md_gost94" | "ripemd160" | "sha1" | "sha224" | "sha256" | "sha384" | "sha512" | "streebog256" | "streebog512" | "whirlpool"; | ||
export type HashAlgo = "gost-mac" | "md4" | "md5" | "md_gost94" | "ripemd160" | "sha1" | "sha224" | "sha256" | "sha384" | "sha512" | "streebog256" | "streebog512" | "whirlpool"; | ||
export declare const fileHash: (path: string, logger?: ILogger, algo?: HashAlgo) => string; | ||
export declare const stringHash: (src: string, logger?: ILogger, algo?: HashAlgo) => string; | ||
//# sourceMappingURL=hash.d.ts.map |
{ | ||
"name": "@thi.ng/file-io", | ||
"version": "0.3.21", | ||
"version": "0.3.22", | ||
"description": "Assorted file I/O utils (with logging support) for NodeJS", | ||
@@ -13,3 +13,3 @@ "type": "module", | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/file-io#readme", | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/file-io#readme", | ||
"funding": [ | ||
@@ -25,3 +25,3 @@ { | ||
], | ||
"author": "Karsten Schmidt <k+npm@thi.ng>", | ||
"author": "Karsten Schmidt (https://thi.ng)", | ||
"license": "Apache-2.0", | ||
@@ -39,14 +39,14 @@ "scripts": { | ||
"dependencies": { | ||
"@thi.ng/api": "^8.5.1", | ||
"@thi.ng/checks": "^3.3.4", | ||
"@thi.ng/logger": "^1.4.4", | ||
"@thi.ng/random": "^3.3.17" | ||
"@thi.ng/api": "^8.6.0", | ||
"@thi.ng/checks": "^3.3.5", | ||
"@thi.ng/logger": "^1.4.5", | ||
"@thi.ng/random": "^3.3.18" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.33.5", | ||
"@thi.ng/testament": "^0.3.6", | ||
"@microsoft/api-extractor": "^7.33.7", | ||
"@thi.ng/testament": "^0.3.7", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.23.20", | ||
"typescript": "^4.8.4" | ||
"typedoc": "^0.23.22", | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -114,3 +114,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n" | ||
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n" | ||
} |
<!-- This file is generated - DO NOT EDIT! --> | ||
# ![file-io](https://media.thi.ng/umbrella/banners-20220914/thing-file-io.svg?86fa755f) | ||
# ![@thi.ng/file-io](https://media.thi.ng/umbrella/banners-20220914/thing-file-io.svg?86fa755f) | ||
[![npm version](https://img.shields.io/npm/v/@thi.ng/file-io.svg)](https://www.npmjs.com/package/@thi.ng/file-io) | ||
![npm downloads](https://img.shields.io/npm/dm/@thi.ng/file-io.svg) | ||
[![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella) | ||
[![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi) | ||
@@ -22,3 +22,3 @@ This project is part of the | ||
Assorted file I/O utils (with logging support) for NodeJS. | ||
Assorted file I/O utils (with logging support) for NodeJS | ||
@@ -43,7 +43,4 @@ Most functions in this package have optional support for the | ||
```text | ||
# with flag only for < v16 | ||
node --experimental-repl-await | ||
> const fileIo = await import("@thi.ng/file-io"); | ||
```js | ||
const fileIo = await import("@thi.ng/file-io"); | ||
``` | ||
@@ -68,3 +65,3 @@ | ||
Karsten Schmidt | ||
- [Karsten Schmidt](https://thi.ng) | ||
@@ -84,2 +81,2 @@ If this project contributes to an academic publication, please cite it as: | ||
© 2022 Karsten Schmidt // Apache Software License 2.0 | ||
© 2022 Karsten Schmidt // Apache License 2.0 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30526
79
Updated@thi.ng/api@^8.6.0
Updated@thi.ng/checks@^3.3.5
Updated@thi.ng/logger@^1.4.5
Updated@thi.ng/random@^3.3.18