fix tests by ignoring "package" field
add repository to package.json
expose functionality as a module (findpkgs)