const { initializeApp } = require('firebase-admin/app'); const { getAuth } = require('firebase-admin/auth'); const app = initializeApp(); const token = await getAuth().createCustomToken('alice'); const user = getAuth().getUser('bob');