Hacker News new | ask | show | jobs
by krapp 3917 days ago
I think this would be more usable if the lists weren't hard-coded into the functions. Passing JSON as a parameter would be possible for any language worth using, no "templates" necessary. Requiring Node.js to rebuild an array inside a PHP function seems kind of weird.

Also, list.json doesn't appear to be a valid json file since it uses comments.

I'm not going to comment on whether or not I think it's useful.