Skip to content

Commit

Permalink
docs(node): add URL example
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Feb 21, 2023
1 parent 0d64fcc commit 8101f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ import fs from 'node:fs'
* @example
* toggle('off')
* @example
* toggle('on', new URL('.'))
* @example
* toggle('on', process.env.npm_package_json)
*
* @param {Nilable<Command>?} [command=null] - Toggle command
Expand Down

0 comments on commit 8101f52

Please sign in to comment.