resolve-account
v1.0.25
Published
Standardize account JSON structure for projects built under ITW Creative Works
Downloads
326
Maintainers
Readme
🌐 Resolve Account Works in Node AND browser environments
Yes, this module works in both Node and browser environments, including compatibility with Webpack and Browserify!
🦄 Features
- Standardize JSON structure
- Resolve plan IDs for expired plans
📦 Install Resolve Account
Option 1: Install via npm
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
})
Option 2: Install via CDN
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>
Option 3: Use without installation
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.
⚡️ Using Resolve Account
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.
📝 What Can Resolve Account do?
is the official ITW Creative Works npm module to standardize and resolve the JSON structure for Firebase Firestore accounts.
🗨️ Final Words
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!)
📚 Projects Using this Library
- coming soon!
Ask us to have your project listed! :)