Skip to content

Commit b639b2e

Browse files
authoredJan 7, 2023
docs: document env export (#1158)
Adds typedoc to env export
1 parent c10b87e commit b639b2e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎src/env.js

+16
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1+
/**
2+
* @packageDocumentation
3+
*
4+
* Environment detection for test runs using {@link https://npmjs.com/package/wherearewe wherearewe}
5+
*
6+
* @example
7+
*
8+
* ```js
9+
* import { isNode } from 'aegir/env'
10+
*
11+
* if (isNode) {
12+
* // do node things
13+
* }
14+
* ```
15+
*/
16+
117
export * from 'wherearewe'

0 commit comments

Comments
 (0)
Please sign in to comment.