Site | NPM Module | GitHub Repo
resolve-account is the official ITW Creative Works npm module to standardize and resolve the JSON structure for Firebase Firestore accounts.
Yes, this module works in both Node and browser environments, including compatibility with Webpack and Browserify!
- Standardize JSON structure
- Resolve plan IDs for expired plans
Install with npm if you plan to use resolve-account
in a Node project or in the browser.
npm install resolve-account
If you plan to use resolve-account
in a browser environment, you will probably need to use Webpack, Browserify, or a similar service to compile it.
const ResolveAccount = new (require('resolve-account'))();
const resolved = ResolveAccount.resolve({
// ... pass in the account JSON from Firebase Firestore
})
Install with CDN if you plan to use Resolve Account only in a browser environment.
<script src="https://cdn.jsdelivr.net/npm/resolve-account@latest/dist/index.min.js"></script>
<script type="text/javascript">
var resolved = new ResolveAccount().resolve({
// ... pass in the account JSON from Firebase Firestore
})
</script>
You can use resolve-account
in a variety of ways that require no installation, such as curl
in terminal/shell. See the Use without installation section below.
After you have followed the install step, you can start using resolve-account
to resolve Firebase Firestore JSON accounts
For a more in-depth documentation of this library and the Resolve Account service, please visit the official Resolve Account website.
is the official ITW Creative Works npm module to standardize and resolve the JSON structure for Firebase Firestore accounts.
If you are still having difficulty, we would love for you to post a question to the Resolve Account issues page. It is much easier to answer questions that include your code and relevant files! So if you can provide them, we'd be extremely grateful (and more likely to help you find the answer!)
- coming soon!
Ask us to have your project listed! :)