CDN on Git Server
A library that can be used to store and manage files on a git server (GitHub, GitLab etc.)
Install
npm i cdn-on-gitserver
or
yarn add cdn-on-gitserver
Using
const CDNOnGitServer = ; const GitCDN = libName: 'gitlab' auth: '<your auth token>' libOptions: projectId: '12345678' ; /* get cdn file * @data: Buffer*/GitCDN; /* get cdn file * * * * * * * Response * @status: boolean, ex: true*/GitCDN;