UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 239 B
const e=(e,t)=>Buffer.from(`${e}:${t}`).toString(`base64`),t=e=>{let[t,n]=Buffer.from(e,`base64`).toString(`utf-8`).split(`:`);return{key:t,apiKey:n}};export{t as decodeApiKey,e as encodeApiKey}; //# sourceMappingURL=encode-api-key.mjs.map