question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a note in the README that shows how to save files to the filesystem?

See original GitHub issue

The example code for this library is described as Parse an incoming file upload but a file upload usually ends with that file on a disk, and there does not appear to be anything in the example that shows that file step: could one or two lines be added to the example to how to use something like fs.writeFile to write the files in files to the file system?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Pomaxcommented, Dec 12, 2020

You’re making a huge assumption about how various people read README files, as well as how fluent they are in not-their-native-language (you know that people should look for “upload”, but if people are trying to figure out where files are written, they can easily search for “write” and then go “why is it not in here?” when they can’t find anything, through no fault of their own: plenty of folks never learned how to exhaustively search, and good documentation accommodates that).

Over-documenting when the audience is of all ages, and of all countries, especially when someone who’s also been a dev for a long time, and is fluent in English points out it seems some critical documentation is missing, is certainly worth it, even if you don’t need it to be that detailed. If we wrote software just for ourselves, we wouldn’t be publishing it to npm 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a way to represent a directory tree in a Github ...
I got resolver the problem in this way: Insert command tree in bash. Example. enter image description here. Create a README.md in github...
Read more >
[request] specify directory to save notes #61 - laurent22/joplin
Yes I'd like to sync via dropbox and I expected to do that by having Joplin save markdown files to my file system,...
Read more >
How to create a Readme.md file? - Medium
Open any text editor or notepad. Create a new file from — →file →new file. Save the file as Readme.md or any suitable...
Read more >
Add a file to a repository - GitLab Docs
Adding files to a repository is a small, but key task. ... If you need to create a file first, for example a...
Read more >
Working With Files and Directories – The Unix Shell
This means that you can use Control-G to get help and Control-O to save your file. nano doesn't leave any output on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found