1 | # @firebase/util
|
2 |
|
3 | _NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a
|
4 | member of the Firebase team, please avoid using this package_
|
5 |
|
6 | 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 |
|