{"_id":"@bloomcredit/bloomr-ts","name":"@bloomcredit/bloomr-ts","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bloomcredit/bloomr-ts","version":"1.0.0","description":"## Installation","main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run lint"},"author":"","license":"ISC","dependencies":{"axios":"^1.6.8","qs":"^6.12.1"},"devDependencies":{"@types/chai":"^4.3.16","@types/lodash":"^4.17.1","@types/mocha":"^10.0.6","@types/node":"20.11.5","@types/qs":"^6.9.15","chai":"^5.1.1","gts":"^5.3.0","lodash":"^4.17.21","mocha":"^10.4.0","ts-node":"^10.9.2","typescript":"~5.4.3"},"_id":"@bloomcredit/bloomr-ts@1.0.0","gitHead":"3aeb8808551e77f654bf604452695365e607a302","_nodeVersion":"21.6.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-d5Z2jV+B4YvDyyujFXS5OIctZHI5fPte9Ps1SW3n6ZneBn5Ha5FyYS5tQ3BB4NWMy0dXmP2CgoU7Ajn+8wglhw==","shasum":"12f350e8391f005c94000185a4826622ea672d22","tarball":"https://registry.npmjs.org/@bloomcredit/bloomr-ts/-/bloomr-ts-1.0.0.tgz","fileCount":37,"unpackedSize":104702,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD3l5qY2L5pAAfIOgC046UWzkwOZTLMF2dVY2k3DbHsYAIhAMFhP/glf/0DII2y+o/7hm1s+AjYMN2VUEGt9T40kbnt"}]},"_npmUser":{"name":"jiahou-bloom","email":"jia.hou@bloomcredit.io"},"directories":{},"maintainers":[{"name":"jiahou-bloom","email":"jia.hou@bloomcredit.io"},{"name":"ssieradzki","email":"scott@bloomcredit.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bloomr-ts_1.0.0_1739284106056_0.33047891101208826"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-11T14:28:25.956Z","1.0.0":"2025-02-11T14:28:26.240Z","modified":"2025-02-11T14:28:26.546Z"},"maintainers":[{"name":"jiahou-bloom","email":"jia.hou@bloomcredit.io"},{"name":"ssieradzki","email":"scott@bloomcredit.io"}],"description":"## Installation","license":"ISC","readme":"# Bloomr\n\n## Installation\n\n    $ npm install 'bloomr'\n\n## Usage\n\n```\nconst api = new BloomrApi(\n    'https://sandbox.bloom.dev',\n    'https://authn.bloom.dev',\n    'CLIENT_ID',\n    'CLIENT_SECRET'\n);\n\ntry {\n    const token = await api.auth.fetchAuthToken();\n    const id = await api.consumer.register(token, {\n        'first_name': 'Michael',\n        'last_name': 'Scott',\n        'city': 'Scranton',\n        'line1': '1725 Slough Avenue',\n        'state_code': 'PA',\n        'zipcode': '18503',\n        \"address_primary\": true,\n        'date_of_birth': '1964-03-15',\n        \"ssn\": \"123456789\"\n    });\n    const data = api.credit.getCreditData(token, '1');\n    console.log(data)\n} catch (e) {\n    console.log(e);\n}\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bloomr.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","readmeFilename":"README.md"}