List all the files in a GitHub repo’s directory
MIT License
Bot releases are hidden (Show)
https://github.com/fregante/list-github-dir-content/compare/v4.0.0...v4.0.1
- const listContent = require('list-github-dir-content');
- await listContent.viaTreesApi();
+ import {getDirectoryContentViaTreesApi} from 'list-github-dir-content';
+ await getDirectoryContentViaTreesApi();
https://github.com/fregante/list-github-dir-content/compare/v3.0.0...v4.0.0
Authorization
header instead of access_token
URL parameter: #17Huge thanks to @dan2k3k4 and @loilo for helping!
This version is not backwards-compatible because the functions’ signature is different, but the output is unchanged (unless the set the new option to true
)
Huge thanks to @loilo for helping!