feat: add new file

This commit is contained in:
丹尼尔
2026-03-10 17:13:55 +08:00
commit 551abd1b68
4156 changed files with 805309 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
"use strict"
const readCache = require("read-cache")
const dataURL = require("./data-url")
module.exports = filename => {
if (dataURL.isValid(filename)) {
return dataURL.contents(filename)
}
return readCache(filename, "utf-8")
}