Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNeil Bircumshaw
Full Stack JavaScript Techdegree Student 14,597 PointsTrying to create a piece of code that looks to see if a file is created, if not it creates one and stores the data.
Okay so I found an NPM package called "fs-extra" that looks promising but I'm struggling to add it to my dependencies of my package.json file that is linked to my application I'm working on. I am then struggling how to actually use this package.
This whole course of node and NPM has in my opinion been very difficult to follow. The task given to us (create a content scraper to scrap info from a website and then store the data inside a folder that hasn't been created until the scraper creates one if there isn't already one and then the data should be parsed into an CSV file) just seems way too deep in regards to what we have actually been taught. The videos for this subject were also extremely difficult to wrap my head around. Hate to rant but I feel as though if I'm paying $200 a month I should be given tutoring that is easy to understand and feel like I know what I'm doing each time I have to start a piece of coursework, instead I'm sat there thinking what the heck am I even doing! Anyone else get this?
Cheers guys!