first init

This commit is contained in:
Power BI Dev
2026-08-17 10:52:09 +07:00
commit 88c7c653c2
9281 changed files with 2156575 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
"use strict"
const dataURLRegexp = /^data:text\/css;base64,/i
function isValid(url) {
return dataURLRegexp.test(url)
}
function contents(url) {
// "data:text/css;base64,".length === 21
return Buffer.from(url.slice(21), "base64").toString()
}
module.exports = {
isValid,
contents,
}