Skip to content

Commit

Permalink
Meta tweaks (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richienb committed Mar 3, 2021
1 parent 180c2ab commit bc83b32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -94,7 +94,7 @@ declare const open: {
await open('https://sindresorhus.com', {app: {name: 'firefox'}});
// Specify app arguments.
await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: '--incognito'}});
await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}});
```
*/
(
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -13,7 +13,7 @@ Note: The original [`open` package](https://github.com/pwnall/node-open) was pre
- Actively maintained.
- Supports app arguments.
- Safer as it uses `spawn` instead of `exec`.
- Fixes most of the open original `node-open` issues.
- Fixes most of the original `node-open` issues.
- Includes the latest [`xdg-open` script](https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=c55122295c2a480fa721a9614f0e2d42b2949c18) for Linux.
- Supports WSL paths to Windows apps.

Expand All @@ -39,7 +39,7 @@ await open('https://sindresorhus.com');
await open('https://sindresorhus.com', {app: {name: 'firefox'}});

// Specify app arguments.
await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: '--incognito'}});
await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}});
```

## API
Expand Down

0 comments on commit bc83b32

Please sign in to comment.