divar-init
v0.0.2
Published
small library to collect initial state for divar client app
Downloads
2
Maintainers
Readme
💾 Load Initial State For Initialization Client App
this small library helps to load initial state for creating client app Initial state includes: -All available cities -All district of each city -Categories hierarchy and setting for each category filtering search result
Example
const {getInitialState} = require('divar-init')
async function init() {
const state = await getInitialState()
}
init()