Coil monetization to UUID

node v10.24.1
version: 2.0.0
endpointsharetweet
const uuidParse = require('uuid-parse') const base64url = require('base64url') const urlPart = 'Jgsl3HHISgu9oP9T2IwLOg' const bytes = base64url.toBuffer(urlPart) const uuid = uuidParse.unparse(bytes) console.log('Decoded: ' + uuid) console.log('Reversed: ' + base64url.fromBase64(Buffer.from(uuidParse.parse(uuid)).toString('base64')))
Loading…

no comments

    sign in to comment