@unshared/fs 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/LICENSE.md +21 -0
  2. package/dist/createTemporaryDirectory.cjs +11 -0
  3. package/dist/createTemporaryDirectory.cjs.map +1 -0
  4. package/dist/createTemporaryDirectory.d.ts +35 -0
  5. package/dist/createTemporaryDirectory.js +14 -0
  6. package/dist/createTemporaryDirectory.js.map +1 -0
  7. package/dist/createTemporaryFile.cjs +12 -0
  8. package/dist/createTemporaryFile.cjs.map +1 -0
  9. package/dist/createTemporaryFile.d.ts +44 -0
  10. package/dist/createTemporaryFile.js +15 -0
  11. package/dist/createTemporaryFile.js.map +1 -0
  12. package/dist/findAncestor.cjs +16 -0
  13. package/dist/findAncestor.cjs.map +1 -0
  14. package/dist/findAncestor.d.ts +18 -0
  15. package/dist/findAncestor.js +19 -0
  16. package/dist/findAncestor.js.map +1 -0
  17. package/dist/findAncestors.cjs +20 -0
  18. package/dist/findAncestors.cjs.map +1 -0
  19. package/dist/findAncestors.d.ts +21 -0
  20. package/dist/findAncestors.js +24 -0
  21. package/dist/findAncestors.js.map +1 -0
  22. package/dist/glob.cjs +28 -0
  23. package/dist/glob.cjs.map +1 -0
  24. package/dist/glob.d.ts +71 -0
  25. package/dist/glob.js +33 -0
  26. package/dist/glob.js.map +1 -0
  27. package/dist/index.cjs +25 -0
  28. package/dist/index.cjs.map +1 -0
  29. package/dist/index.d.ts +16 -0
  30. package/dist/index.js +35 -0
  31. package/dist/index.js.map +1 -0
  32. package/dist/loadObject.cjs +187 -0
  33. package/dist/loadObject.cjs.map +1 -0
  34. package/dist/loadObject.d.ts +222 -0
  35. package/dist/loadObject.js +195 -0
  36. package/dist/loadObject.js.map +1 -0
  37. package/dist/touch.cjs +15 -0
  38. package/dist/touch.cjs.map +1 -0
  39. package/dist/touch.d.ts +36 -0
  40. package/dist/touch.js +17 -0
  41. package/dist/touch.js.map +1 -0
  42. package/dist/updateFile.cjs +8 -0
  43. package/dist/updateFile.cjs.map +1 -0
  44. package/dist/updateFile.d.ts +32 -0
  45. package/dist/updateFile.js +9 -0
  46. package/dist/updateFile.js.map +1 -0
  47. package/dist/withTemporaryDirectories.cjs +17 -0
  48. package/dist/withTemporaryDirectories.cjs.map +1 -0
  49. package/dist/withTemporaryDirectories.d.ts +18 -0
  50. package/dist/withTemporaryDirectories.js +18 -0
  51. package/dist/withTemporaryDirectories.js.map +1 -0
  52. package/dist/withTemporaryFiles.cjs +17 -0
  53. package/dist/withTemporaryFiles.cjs.map +1 -0
  54. package/dist/withTemporaryFiles.d.ts +19 -0
  55. package/dist/withTemporaryFiles.js +18 -0
  56. package/dist/withTemporaryFiles.js.map +1 -0
  57. 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
+ }