tra-analysis/website/functions/node_modules/@firebase/util/README.md

33 lines
647 B
Markdown
Raw Normal View History

2019-01-06 19:14:45 +00:00
# @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`
```