{"id":40970160,"url":"https://github.com/thepeerstack/node-sdk","last_synced_at":"2026-01-22T06:42:22.091Z","repository":{"id":42574972,"uuid":"370494982","full_name":"thepeerstack/node-sdk","owner":"thepeerstack","description":"Thepeer's official node sdk","archived":false,"fork":false,"pushed_at":"2023-02-04T22:51:31.000Z","size":47,"stargazers_count":23,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-24T21:25:27.089Z","etag":null,"topics":["backend","javascript","nodejs","packages"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/thepeer-node","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thepeerstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-24T22:00:17.000Z","updated_at":"2023-02-05T00:18:11.000Z","dependencies_parsed_at":"2023-02-17T07:01:08.120Z","dependency_job_id":null,"html_url":"https://github.com/thepeerstack/node-sdk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/thepeerstack/node-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepeerstack%2Fnode-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepeerstack%2Fnode-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepeerstack%2Fnode-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepeerstack%2Fnode-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepeerstack","download_url":"https://codeload.github.com/thepeerstack/node-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepeerstack%2Fnode-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28657095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","javascript","nodejs","packages"],"created_at":"2026-01-22T06:42:21.406Z","updated_at":"2026-01-22T06:42:22.086Z","avatar_url":"https://github.com/thepeerstack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thepeer node\n\n## Installation\n\n```bash\nnpm i thepeer-node\n```\n\n## Usage\n\n```js\nconst thepeer = new Thepeer(secretKey)\n\nlet user = thepeer.indexUser(\"Thor Odin\", \"thor\", \"thor@odin.com\");\n```\n\n### Available methods\n\n* validateSignature\n    - `accepts`: \n        - request (object)\n        - signature (object)\n    - `returns`: boolean\n    \n* authorizeCharge\n    - `accepts`: \n        - reference (string)\n        - event (string)\n    - `returns`: boolean\n    \n* indexUser\n    - `accepts`:\n        - name (string)\n        - email (string)\n        - identifier (string)\n    - `returns`: object\n        \n* updateUser\n    - `accepts`:\n        - reference (string)\n        - identifier (string)\n    - `returns`: object\n        \n* deleteUser\n    - `accepts`:\n        - reference (string)\n    - `returns`: boolean\n    \n* getLink\n    - `accepts`:\n        - link_id (string)\n    - `returns`: object\n\n* chargeLink\n    - `accepts`:\n        - link_id (string)\n        - amount (integer)\n    - `returns`: object\n* getBusinesses\n    - `accepts`:\n        - channel (string)\n    - `returns`: object\n\n## Extra\n\nRefer to the [documentation](https://docs.thepeer.co) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepeerstack%2Fnode-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepeerstack%2Fnode-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepeerstack%2Fnode-sdk/lists"}