Skip to content

Commit bc409b9

Browse files
committed
Address PR comments
1 parent d517df6 commit bc409b9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

packages/util/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,22 @@ _NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a
44
member of the Firebase team, please avoid using this package_
55

66
This is a wrapper of some Webchannel Features for the Firebase JS SDK.
7+
8+
## Usage
9+
10+
**ES Modules**
11+
12+
```javascript
13+
import { Deferred } from '@firebase/util';
14+
15+
// Do stuff with Deferred or any of the other Utils you import
16+
```
17+
18+
**CommonJS Modules**
19+
20+
```javascript
21+
const utils = require('@firebase/util');
22+
23+
// Do stuff with any of the re-exported `utils`
24+
```
25+

0 commit comments

Comments
 (0)