Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { makeBlob } = require('@jscad/io-utils')
const Blob = makeBlob()
function convertToBlob (input) {
const {data, mimeType} = input
const blob = new Blob(data, { type: mimeType })
return blob
}
module.exports = {
convertToBlob
}