You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-7
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,9 @@ npm install file-folder-loader
12
12
13
13
## Usage & Examples
14
14
15
+
> [!WARNING]
16
+
> By default, `isImportEnabled` is `true` when using `loadModulePaths()`. The module blindly imports modules unsandboxed. Only import modules from places you know. Modules that self-invoke code as soon as they're imported can have dangerous side-effects.
17
+
15
18
### Example 1: Loading Folder Paths
16
19
17
20
```typescript
@@ -63,12 +66,12 @@ async function init() {
63
66
awaitinit();
64
67
```
65
68
66
-
### Example 3: Loading Folder Paths Sequentially and Loading Module Paths Concurrently
69
+
### Example 3: Loading Folder Paths Sequentially and Loading Module Paths Concurrently (All recursive)
0 commit comments