lib/index.js doesn't exist. Main should be requiring lib/creditcard.js instead.
Change the "main" path to actual main file.
@ovaillancourt Good gatch, appologies for this rookie mistake. Will publish a new version in a hour or so.
Released version 0.1.0 which contains this fix as well as a small refactor.
Great lib btw, love the super clean implementation.