github-tools / github-tools/github
How to require a single class
Open
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 809
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Thank you very much for this library, it has worked very well.
However, for some projects I don't need all the features it provides.
For example, for a small script I wrote, all I need is the Issue class. There is no documentation about how to require a particular class/component. It would be ideal also to be able to independently install the required parts.
I ended doing this:
```js
const Issue = require( 'github-api/dist/components/Issue' );
```
If there is a better approach I would love to know about it.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.