github-tools / github-tools/github

How to require a single class

Abierto
#442 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3.8k
Forks
809
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reviewing the documented entry point `github-api/dist/components/Issue` and the package's existing usage documentation. Clarify the supported way to require a single component and whether independently installing parts is in scope; done means the documentation explains the approach and its limitations.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
documentation
Tipo de issue
Documentación
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.