mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
13 lines
308 B
TypeScript
13 lines
308 B
TypeScript
import path from "path";
|
|
import fs from "fs";
|
|
|
|
/**
|
|
* Read the information for each sponsor from `.all-sponsorsrc` file
|
|
*/
|
|
export function getAllSponsors() {
|
|
const sponsorsRcPath = path.resolve(".sponsorsrc");
|
|
const sponsors = JSON.parse(fs.readFileSync(sponsorsRcPath, "utf-8"));
|
|
|
|
return sponsors;
|
|
}
|