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) • 389 B
JavaScript
import"ramda";import"zousan";let t=null;const n=n=>function(...o){return t=t?t.then(()=>n(...o)):n(...o),t};function o(t,n){const o={};return Object.keys(n).forEach(e=>{t(e,n[e])&&(o[e]=n[e])}),o}const e=t=>decodeURIComponent(atob(t).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""));export{e as b64DecodeUnicode,o as filterOb,n as singleFile};