raoulmillais/node-7digital-api — pull request #26 by raoulmillais (2014-03-21 14:39:55+00:00)
Title: Uneeded dependencies

I've been playing with firefoxos this week and had a quick go at making this work there this morning. It would definitely be a good thing to have it work in more environments eventually. I tried to browserify the package and discovered that at least the use of fs and winston are blockers. There are still more issues to iron out, but this is a start.

Using fs.readFileSync in favour of require'ing the schema feels cleaner and I've removed the winston dependency replacing the logger with a console wrapper that has the same API as a winston logger configured for npm loglevels. I can't think of a good reason to keep winston.