stdlib-js / stdlib-js/stdlib

[RFC]: add `@stdlib/fs/resolve-parent-paths-by`

Abierto
#2,567 8 comentarios 0 reacciones 0 asignados Ver en GitHub
Accepted difficulty: 2 Feature Good First Issue JavaScript priority: Normal RFC Utilities
Lenguaje dominante
JavaScript
Estrellas
6k
Forks
1.3k
Merge medio
1 d 3 h
PR fusionados (30 d)
611

Descripción

### Description

This RFC proposes adding `@stdlib/fs/resolve-parent-paths-by` similar to [`@stdlib/fs/resolve-parent-path-by`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/fs/resolve-parent-path-by), which instead of a single path, accepts an array of paths and resolves according to the `predicate`.

Similar to [`@stdlib/fs/resolve-parent-paths`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/fs/resolve-parent-paths) we would want to support multiple modes of operation.

### Related Issues

Related issues #2565

### Questions

No.

### Other

No.

### Checklist

- [X] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with `RFC:`.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reading @stdlib/fs/resolve-parent-path-by and @stdlib/fs/resolve-parent-paths, then compare the related issue #2565 for the intended scope. Define the array-of-paths behavior, predicate handling, and supported modes before checking the analogous implementations and their tests; done means the new module matches the established APIs and mode semantics.

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

Evaluación

Stack tecnológico
javascript, node.js
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
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.