@fireaudit/client
v0.3.2
Published
FireAudit client library
Downloads
97
Maintainers
Readme
FireAudit Client
Installation
npm install @fireaudit/client --save
or
yarn add @fireaudit/client
Usage
Add this code to your index.ts
file to get started. Be sure to grab your API key with your free account at https://fireaudit.studio.
exports.fireaudit = new FireAudit().build({
levels: 2, // How mane levels of nesting does your Firestore database have
mode: 'HTTPS', // Use HTTPS to get started, use PUBSUB for excellent reliability.
apiKey: 'EXAMPLE_API_KEY', // Get your key at https://fireaudit.studio
url: 'EXAMPLE_URL' // This you will also get at https://fireaudit.studio
});
Done, thats it. Now deploy your functions as regular, and within minutes you should see FireAudit working for your at https://fireaudit.studio.
License
Copyright (c) 2019 codecentric nl Copyright (c) 2019 David Hardy