{"id":36595591,"url":"https://github.com/cryptlex/web-api-client-js","last_synced_at":"2026-01-12T08:28:26.150Z","repository":{"id":64031089,"uuid":"568734824","full_name":"cryptlex/web-api-client-js","owner":"cryptlex","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-01T23:22:49.000Z","size":676,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-24T21:58:54.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptlex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-11-21T09:52:01.000Z","updated_at":"2024-11-12T04:46:38.000Z","dependencies_parsed_at":"2023-02-17T12:01:06.580Z","dependency_job_id":"6d3e2b7b-d5f8-4f77-9f89-722acec7217b","html_url":"https://github.com/cryptlex/web-api-client-js","commit_stats":{"total_commits":22,"total_committers":4,"mean_commits":5.5,"dds":0.6363636363636364,"last_synced_commit":"c08ca8bbedfe21128ff854d1b1cf3f167454113b"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cryptlex/web-api-client-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlex%2Fweb-api-client-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlex%2Fweb-api-client-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlex%2Fweb-api-client-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlex%2Fweb-api-client-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptlex","download_url":"https://codeload.github.com/cryptlex/web-api-client-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlex%2Fweb-api-client-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-12T08:28:26.086Z","updated_at":"2026-01-12T08:28:26.146Z","avatar_url":"https://github.com/cryptlex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @cryptlex/web-api-client\n\n[![latest-npm-version](https://badge.fury.io/js/@cryptlex%2Fweb-api-client.svg)](https://www.npmjs.com/package/@cryptlex/web-api-client) ![build](https://github.com/cryptlex/web-api-client-js/actions/workflows/release.yml/badge.svg)\n\nThe Cryptlex Web API Client library provides access to the Cryptlex Web API from applications written in JavaScript. The library maintains types for supporting TypeScript(=\u003e3.5).\n\n# Requirements\n\nNode 14 or higher\n\n# Installation\n\n```\nnpm install @cryptlex/web-api-client\n```\n\n# Usage\n\nThe library needs to be configured with the a valid access token. This is done in the `CryptlexWebApiClientOptions` instantiation.\n\n```ts\nimport { CryptlexWebApiClient, CryptlexWebApiClientOptions } from \"@cryptlex/web-api-client\";\n\nconst ACCESS_TOKEN = \"**ACCESS_TOKEN**\";\nconst PRODUCT_ID = \"**PRODUCT_ID**\";\n\nconst clientOptions = new CryptlexWebApiClientOptions(ACCESS_TOKEN);\nconst client = new CryptlexWebApiClient(clientOptions);\n\ntry {\n  // Create a license in the product defined by PRODUCT_ID\n  const licenseResponse = await client.createLicense({ productId: PRODUCT_ID });\n  console.log(\"Successfully created license: \" + JSON.stringify(licenseResponse.data));\n} catch (error) {\n  console.error(error);\n}\n```\n\n# Functions\n\nThe extent of this library can be seen in the [complete list of functions](https://github.com/cryptlex/web-api-client-js/blob/main/docs/functions.md) available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptlex%2Fweb-api-client-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptlex%2Fweb-api-client-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptlex%2Fweb-api-client-js/lists"}