Skip to content

Commit

Permalink
Merge pull request #4 from rapPayne/instructions-work-with-ts-on-node
Browse files Browse the repository at this point in the history
Added Node/TypeScript import
  • Loading branch information
jdbence committed Nov 24, 2018
2 parents c68ca6f + 8bc5373 commit 1c029fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ Parse the [Firestore REST API](https://firebase.google.com/docs/firestore/refere
## Examples
[Live Example](https://repl.it/@jdbence/firestore-parser-example-01)
```JS
// Node/AMD:
// const FireStoreParser = require('firestore-parser');
// Node with TypeScript:
// import * as FireStoreParser from 'firestore-parser';
import FireStoreParser from 'firestore-parser'
const projectID = 'PROJECT_ID'
const key = 'API_KEY'
Expand Down

0 comments on commit 1c029fd

Please sign in to comment.