i want you to act as a professional javascript programmer. create an expressjs app that…
- User
i want you to act as a professional javascript programmer. create an expressjs app that returns the file listing of any directory on the file system based on input from a query parameter that is url encoded. return any error if necessary. the response body schema should be: { status: boolean, entries: string[] }
Assistant
Here is an Express app that returns a file listing based on a query parameter:
js
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.