ChrisWren / grunt-link-checker

Run node-simple-crawler to discover broken links on your website
MIT License
33 stars 9 forks source link

Decouple from Grunt #7

Open adam-lynch opened 10 years ago

adam-lynch commented 10 years ago

Hey, this looks great! It would be good if there was a plain Node module though. That would make it a lot more accessible. Let's say there would be a new "link-checker" (core) module.

Then this project would have the new "link-checker" module as a dependency, so this would just wrap it for grunt.

Then I could also make a gulp module if that made sense (maybe a Gulp plugin isn't needed; maybe using the plain Node module with gulp on its own would make most sense, I don't know).

Would you be open to that? I had a quick look over the source and it doesn't seem like it would be hard. I'd be up for helping anyway.

ChrisWren commented 9 years ago

Hey, sorry for not responding. I think it would be cool to decouple, but this module is really just wrapping the node-crawler module with some handlers specific to checking links. There isn't much code like you said, so it might be best to just copy the code and modify it to work with gulp.

adam-lynch commented 9 years ago

Ok cool. I won't have the time soon but I am interested and probably will get to it. I'll let you know :+1: