Skip to content

Commit 7ed20b7

Browse files
committed
Update README.md
1 parent 750e962 commit 7ed20b7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ open-browsers
33

44
Attempts to open the browser with a given URL.
55
On Mac OS X, attempts to reuse an existing Chrome tab via AppleScript.
6-
Otherwise, falls back to [opn](https://github.com/sindresorhus/opn) behavior.
6+
Otherwise, falls back to [opn](https://github.com/sindresorhus/opn) behavior. `open-browsers` form [react-dev-utils](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/openBrowser.js).
77

8-
`open-browsers` form [react-dev-utils](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/openBrowser.js)
8+
### Install
99

10+
```bash
11+
npm install open-browsers --save-dev
12+
```
13+
14+
### Usage
1015

1116
> openBrowsers(url: string): boolean
1217

0 commit comments

Comments
 (0)