files-pipe
Advanced tools
Comparing version 2.1.8 to 2.1.9
{ | ||
"name": "files-pipe", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"private": false, | ||
"description": "Files processing with JavaScript. 🧪", | ||
"description": "🧪 Files processing with JavaScript.", | ||
"keywords": [ | ||
@@ -22,3 +22,3 @@ "pipeline", | ||
"author": { | ||
"name": "Nikola Hristov", | ||
"name": "Nikola R. Hristov", | ||
"email": "nikola@nikolahristov.tech", | ||
@@ -34,3 +34,3 @@ "url": "https://nikolahristov.tech" | ||
"dependencies": { | ||
"@types/node": "20.11.17", | ||
"@types/node": "20.11.23", | ||
"deepmerge-ts": "5.1.0", | ||
@@ -40,3 +40,3 @@ "fast-glob": "3.3.2" | ||
"devDependencies": { | ||
"typescript-esbuild": "0.3.9" | ||
"typescript-esbuild": "0.3.10" | ||
}, | ||
@@ -43,0 +43,0 @@ "publishConfig": { |
@@ -1,2 +0,2 @@ | ||
# [FilesPipe] 🧪 | ||
# 🧪 [FilesPipe] | ||
@@ -21,5 +21,3 @@ `FilesPipe` allows you to process files in a pipeline, making it easy to perform | ||
```ts | ||
import Files from "files-pipe"; | ||
await new Files().In("./Input"); | ||
await new (await import("files-pipe")).default().In("./Input"); | ||
``` | ||
@@ -35,6 +33,6 @@ | ||
```ts | ||
import Files from "files-pipe"; | ||
await ( | ||
await (await new Files().In("./Input")).By("**/*.md") | ||
await( | ||
await(await new (await import("files-pipe")).default().In("./Input")).By( | ||
"**/*.md" | ||
) | ||
).Pipe({ | ||
@@ -52,5 +50,3 @@ // Append some content to all of the text files | ||
```ts | ||
import Files from "files-pipe"; | ||
await new Files().Pipe({ | ||
await new (await import("files-pipe")).default().Pipe({ | ||
// Reads the file into a buffer | ||
@@ -90,5 +86,3 @@ Read: async (On) => await fs.promises.readFile(On.Input, "utf-8"), | ||
```ts | ||
import Files from "files-pipe"; | ||
await new Files().In(["./Input", "./Input2"]); | ||
await new (await import("files-pipe")).default().In(["./Input", "./Input2"]); | ||
``` | ||
@@ -104,5 +98,5 @@ | ||
```ts | ||
import Files from "files-pipe"; | ||
await new Files().In(new Map([["./Input", "./Output"]])); | ||
await new (await import("files-pipe")).default().In( | ||
new Map([["./Input", "./Output"]]) | ||
); | ||
``` | ||
@@ -119,5 +113,3 @@ | ||
```ts | ||
import Files from "files-pipe"; | ||
await new Files().Not([ | ||
await new (await import("files-pipe")).default().Not([ | ||
"File.txt", | ||
@@ -136,5 +128,3 @@ (File: string) => File === "./Input/File.txt", | ||
```ts | ||
import Files from "files-pipe"; | ||
new Files(0); | ||
new (await import("files-pipe")).default(0); | ||
``` | ||
@@ -141,0 +131,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
26091
130
+ Added@types/node@20.11.23(transitive)
- Removed@types/node@20.11.17(transitive)
Updated@types/node@20.11.23