Skip to content

Commit abcc937

Browse files
committed
docs: add @example JSDoc tag in process/node-version
Adds a missing `@example` tag to `lib/main.js` for `@stdlib/process/node-version` to align with the rest of the namespace. 11 of 12 sibling packages in `@stdlib/process` (~92%) carry an `@example` block in `lib/main.js`; node-version was the only outlier. https://claude.ai/code/session_01HfYzjX5F2cJnQrKbPhbGNB
1 parent afe8812 commit abcc937

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • lib/node_modules/@stdlib/process/node-version/lib

lib/node_modules/@stdlib/process/node-version/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ var proc = require( './process.js' );
3030
*
3131
* @constant
3232
* @type {string}
33+
*
34+
* @example
35+
* console.log( VERSION );
36+
* // => <string>
3337
*/
3438
var VERSION = proc.versions.node;
3539

0 commit comments

Comments
 (0)