Skip to content

Commit 82e4a89

Browse files
committed
v0.0.6
1 parent de710ad commit 82e4a89

19 files changed

Lines changed: 661 additions & 340 deletions

DEV_CHECKLIST.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
- [ ] Have you used the code locally?
99
- [ ] Check your email and username. Protect PII. `git log -n1`
1010

11-
1211
```bash
1312
npm run build
1413
npm run test

docs/docs.json

Lines changed: 0 additions & 300 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[**@wtasnorg/node-lib**](../README.md)
2+
3+
***
4+
5+
[@wtasnorg/node-lib](../globals.md) / createFindDirectories
6+
7+
# Function: createFindDirectories()
8+
9+
> **createFindDirectories**(`deps`): (`root`, `options`) => `Promise`\<`string`[]\>
10+
11+
Defined in: [find.ts:19](https://github.com/wtasg/node-lib/blob/01d2e57d5a7dbc3451098355b40ab686f5320efe/src/find.ts#L19)
12+
13+
Factory that produces an async findDirectories function with
14+
injected filesystem dependencies for full testability.
15+
16+
## Parameters
17+
18+
### deps
19+
20+
[`FileSystemDependencies`](../interfaces/FileSystemDependencies.md)
21+
22+
## Returns
23+
24+
> (`root`, `options`): `Promise`\<`string`[]\>
25+
26+
### Parameters
27+
28+
#### root
29+
30+
`string`
31+
32+
#### options
33+
34+
[`FindDirectoriesOptions`](../interfaces/FindDirectoriesOptions.md) = `{}`
35+
36+
### Returns
37+
38+
`Promise`\<`string`[]\>

docs/functions/hello.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **hello**(): `Promise`\<`string`\>
1010
11-
Defined in: [hello.ts:6](https://github.com/wtasg/node-lib/blob/890fd5e866d9096470d56594a5788bf55e34bf7c/src/hello.ts#L6)
11+
Defined in: [hello.ts:6](https://github.com/wtasg/node-lib/blob/01d2e57d5a7dbc3451098355b40ab686f5320efe/src/hello.ts#L6)
1212

1313
A sample function that should work to test if lib is installed correctly.
1414

docs/functions/pojo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **pojo**\<`T`\>(`instance`): `Record`\<`string`, `any`\>
1010
11-
Defined in: [pojo.ts:10](https://github.com/wtasg/node-lib/blob/890fd5e866d9096470d56594a5788bf55e34bf7c/src/pojo.ts#L10)
11+
Defined in: [pojo.ts:10](https://github.com/wtasg/node-lib/blob/01d2e57d5a7dbc3451098355b40ab686f5320efe/src/pojo.ts#L10)
1212

1313
Convert a class instance into a plain JavaScript object.
1414
Copies only the instance's own enumerable data properties

docs/globals.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44

55
# @wtasnorg/node-lib
66

7+
## Interfaces
8+
9+
- [FileSystemDependencies](interfaces/FileSystemDependencies.md)
10+
- [FindDirectoriesOptions](interfaces/FindDirectoriesOptions.md)
11+
712
## Functions
813

14+
- [createFindDirectories](functions/createFindDirectories.md)
915
- [hello](functions/hello.md)
1016
- [pojo](functions/pojo.md)

0 commit comments

Comments
 (0)