Skip to content

A program that scrapes files in a given directory and writes it to a new single file

License

Notifications You must be signed in to change notification settings

Khrees2412/fs-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi there! 👋

This piece of code was created as a way for me to understand and also try out the basics of the Nodejs filesystem.

I thought someone could benefit from it too.

fs-scrapper helps you scrape the content of files in a specified directory and paste it in a 🗁 folder and file of your choice. That's all, its simple and easy. 😃

How to use - It's really easy!

Install fs-scrapper

npm install fs-scrapper

Add it to your package.json like this -

"scripts": {
    "scrape": "node fs-scrapper"
  }

Run it on your terminal using npm run scrape <the-directory-to-scrape-from> <the-new-directory> <the-new-file-name+extension>

Another way to use it

Add it to your package.json like this

"scripts": {
    "scrape": "node fs-scrapper <the-directory-to-scrape-from> <the-new-directory> <the-new-file-name+extension>"
  }

Run it on your terminal using npm run scrape

Feel free to send a PR for other possible additions.

About

A program that scrapes files in a given directory and writes it to a new single file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published