mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
33 lines
647 B
Markdown
33 lines
647 B
Markdown
# @firebase/util
|
|
|
|
_NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a
|
|
member of the Firebase team, please avoid using this package_
|
|
|
|
This is a wrapper of some Webchannel Features for the Firebase JS SDK.
|
|
|
|
## Installation
|
|
|
|
You can install this wrapper by running the following in your project:
|
|
|
|
```bash
|
|
$ npm install @firebase/util
|
|
```
|
|
|
|
## Usage
|
|
|
|
**ES Modules**
|
|
|
|
```javascript
|
|
import { Deferred } from '@firebase/util';
|
|
|
|
// Do stuff with Deferred or any of the other Utils you import
|
|
```
|
|
|
|
**CommonJS Modules**
|
|
|
|
```javascript
|
|
const utils = require('@firebase/util');
|
|
|
|
// Do stuff with any of the re-exported `utils`
|
|
```
|