Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lee un archivo #20

Closed
AlexaOlalde opened this issue Oct 24, 2023 · 0 comments
Closed

Lee un archivo #20

AlexaOlalde opened this issue Oct 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@AlexaOlalde
Copy link
Owner

Ahora que sabes que el archivo es del tipo Markdown, lee este archivo y retorna su contenido. Para ver este contenido puedes utilizar un console.log() al momento de ejecutar la función.

El módulo fs (FileSystem) te será de utilidad. Como mencionamos en las consideraciones técnicas, preferimos que uses readFile (en lugar de readFileSync) y recomendamos el módulo fs/promises para utilizar estas funciones con promesas.

@AlexaOlalde AlexaOlalde added the enhancement New feature or request label Oct 24, 2023
@AlexaOlalde AlexaOlalde added this to the Hito 1 milestone Oct 24, 2023
@AlexaOlalde AlexaOlalde self-assigned this Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant