UNPKG

atriusmaps-node-sdk

Version:

This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information

2 lines (1 loc) 296 B
import*as e from"ramda";import"zousan";function r(r,n,o=!1){const t=JSON.parse(n);return Object.keys(t).forEach(n=>{const p=t[n];let s=r.plugins[n];if(!s&&o&&(s=r.plugins[n]={}),!s)return;const i=s.deepLinkProps;s.deepLinkProps=i?e.mergeDeepRight(i,p):p}),r}export{r as setStateFromStateString};