@unshared/fs 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +21 -0
- package/dist/createTemporaryDirectory.cjs +11 -0
- package/dist/createTemporaryDirectory.cjs.map +1 -0
- package/dist/createTemporaryDirectory.d.ts +35 -0
- package/dist/createTemporaryDirectory.js +14 -0
- package/dist/createTemporaryDirectory.js.map +1 -0
- package/dist/createTemporaryFile.cjs +12 -0
- package/dist/createTemporaryFile.cjs.map +1 -0
- package/dist/createTemporaryFile.d.ts +44 -0
- package/dist/createTemporaryFile.js +15 -0
- package/dist/createTemporaryFile.js.map +1 -0
- package/dist/findAncestor.cjs +16 -0
- package/dist/findAncestor.cjs.map +1 -0
- package/dist/findAncestor.d.ts +18 -0
- package/dist/findAncestor.js +19 -0
- package/dist/findAncestor.js.map +1 -0
- package/dist/findAncestors.cjs +20 -0
- package/dist/findAncestors.cjs.map +1 -0
- package/dist/findAncestors.d.ts +21 -0
- package/dist/findAncestors.js +24 -0
- package/dist/findAncestors.js.map +1 -0
- package/dist/glob.cjs +28 -0
- package/dist/glob.cjs.map +1 -0
- package/dist/glob.d.ts +71 -0
- package/dist/glob.js +33 -0
- package/dist/glob.js.map +1 -0
- package/dist/index.cjs +25 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +35 -0
- package/dist/index.js.map +1 -0
- package/dist/loadObject.cjs +187 -0
- package/dist/loadObject.cjs.map +1 -0
- package/dist/loadObject.d.ts +222 -0
- package/dist/loadObject.js +195 -0
- package/dist/loadObject.js.map +1 -0
- package/dist/touch.cjs +15 -0
- package/dist/touch.cjs.map +1 -0
- package/dist/touch.d.ts +36 -0
- package/dist/touch.js +17 -0
- package/dist/touch.js.map +1 -0
- package/dist/updateFile.cjs +8 -0
- package/dist/updateFile.cjs.map +1 -0
- package/dist/updateFile.d.ts +32 -0
- package/dist/updateFile.js +9 -0
- package/dist/updateFile.js.map +1 -0
- package/dist/withTemporaryDirectories.cjs +17 -0
- package/dist/withTemporaryDirectories.cjs.map +1 -0
- package/dist/withTemporaryDirectories.d.ts +18 -0
- package/dist/withTemporaryDirectories.js +18 -0
- package/dist/withTemporaryDirectories.js.map +1 -0
- package/dist/withTemporaryFiles.cjs +17 -0
- package/dist/withTemporaryFiles.cjs.map +1 -0
- package/dist/withTemporaryFiles.d.ts +19 -0
- package/dist/withTemporaryFiles.js +18 -0
- package/dist/withTemporaryFiles.js.map +1 -0
- package/package.json +90 -0
package/package.json
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
{
|
2
|
+
"name": "@unshared/fs",
|
3
|
+
"type": "module",
|
4
|
+
"version": "0.0.1",
|
5
|
+
"license": "MIT",
|
6
|
+
"sideEffects": false,
|
7
|
+
"author": "Stanley Horwood <stanley@hsjm.io>",
|
8
|
+
"bugs": "https://github.com/shorwood/unshared/issues",
|
9
|
+
"homepage": "https://github.com/shorwood/unshared#readme",
|
10
|
+
"repository": {
|
11
|
+
"directory": "packages/fs",
|
12
|
+
"type": "git",
|
13
|
+
"url": "git+ssh://https://github.com/shorwood/unshared"
|
14
|
+
},
|
15
|
+
"main": "./dist/index.cjs",
|
16
|
+
"module": "./dist/index.js",
|
17
|
+
"types": "./dist/index.d.ts",
|
18
|
+
"exports": {
|
19
|
+
"./createTemporaryDirectory": {
|
20
|
+
"require": "./dist/createTemporaryDirectory.cjs",
|
21
|
+
"types": "./dist/createTemporaryDirectory.d.ts",
|
22
|
+
"import": "./dist/createTemporaryDirectory.js"
|
23
|
+
},
|
24
|
+
"./createTemporaryFile": {
|
25
|
+
"require": "./dist/createTemporaryFile.cjs",
|
26
|
+
"types": "./dist/createTemporaryFile.d.ts",
|
27
|
+
"import": "./dist/createTemporaryFile.js"
|
28
|
+
},
|
29
|
+
"./findAncestor": {
|
30
|
+
"require": "./dist/findAncestor.cjs",
|
31
|
+
"types": "./dist/findAncestor.d.ts",
|
32
|
+
"import": "./dist/findAncestor.js"
|
33
|
+
},
|
34
|
+
"./findAncestors": {
|
35
|
+
"require": "./dist/findAncestors.cjs",
|
36
|
+
"types": "./dist/findAncestors.d.ts",
|
37
|
+
"import": "./dist/findAncestors.js"
|
38
|
+
},
|
39
|
+
"./glob": {
|
40
|
+
"require": "./dist/glob.cjs",
|
41
|
+
"types": "./dist/glob.d.ts",
|
42
|
+
"import": "./dist/glob.js"
|
43
|
+
},
|
44
|
+
"./loadObject": {
|
45
|
+
"require": "./dist/loadObject.cjs",
|
46
|
+
"types": "./dist/loadObject.d.ts",
|
47
|
+
"import": "./dist/loadObject.js"
|
48
|
+
},
|
49
|
+
"./touch": {
|
50
|
+
"require": "./dist/touch.cjs",
|
51
|
+
"types": "./dist/touch.d.ts",
|
52
|
+
"import": "./dist/touch.js"
|
53
|
+
},
|
54
|
+
"./updateFile": {
|
55
|
+
"require": "./dist/updateFile.cjs",
|
56
|
+
"types": "./dist/updateFile.d.ts",
|
57
|
+
"import": "./dist/updateFile.js"
|
58
|
+
},
|
59
|
+
"./withTemporaryDirectories": {
|
60
|
+
"require": "./dist/withTemporaryDirectories.cjs",
|
61
|
+
"types": "./dist/withTemporaryDirectories.d.ts",
|
62
|
+
"import": "./dist/withTemporaryDirectories.js"
|
63
|
+
},
|
64
|
+
"./withTemporaryFiles": {
|
65
|
+
"require": "./dist/withTemporaryFiles.cjs",
|
66
|
+
"types": "./dist/withTemporaryFiles.d.ts",
|
67
|
+
"import": "./dist/withTemporaryFiles.js"
|
68
|
+
},
|
69
|
+
".": {
|
70
|
+
"require": "./dist/index.cjs",
|
71
|
+
"types": "./dist/index.d.ts",
|
72
|
+
"import": "./dist/index.js"
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"files": [
|
76
|
+
"dist",
|
77
|
+
"README.md",
|
78
|
+
"LICENSE.md"
|
79
|
+
],
|
80
|
+
"dependencies": {
|
81
|
+
"@unshared/collection": "0.0.1",
|
82
|
+
"@unshared/functions": "0.0.1",
|
83
|
+
"@unshared/reactivity": "0.0.1",
|
84
|
+
"@unshared/string": "0.0.1",
|
85
|
+
"@unshared/types": "0.0.1"
|
86
|
+
},
|
87
|
+
"devDependencies": {
|
88
|
+
"memfs": "4.8.2"
|
89
|
+
}
|
90
|
+
}
|