flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
14 lines (11 loc) • 317 B
JavaScript
import fs__default from 'fs/promises';
import { classListFilePath } from '../consts.js';
async function getClassList() {
try {
return JSON.parse(await fs__default.readFile(classListFilePath, "utf-8")) ?? [];
} catch {
return [];
}
}
export { getClassList };
//# sourceMappingURL=get-class-list.js.map