{"id":21944056,"url":"https://github.com/rfrench/nodejs-ectoken","last_synced_at":"2026-04-17T10:31:06.610Z","repository":{"id":38831780,"uuid":"129190769","full_name":"rfrench/nodejs-ectoken","owner":"rfrench","description":"Token Generator for Edgio Token-Based Authentication","archived":false,"fork":false,"pushed_at":"2022-06-23T18:59:10.000Z","size":78,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-03T15:29:10.043Z","etag":null,"topics":["authentication","ectoken","edgecast","edgio","node","node-js","nodejs","token"],"latest_commit_sha":null,"homepage":"","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/rfrench.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":"2018-04-12T04:02:45.000Z","updated_at":"2022-06-24T14:16:55.000Z","dependencies_parsed_at":"2022-09-18T12:41:54.812Z","dependency_job_id":null,"html_url":"https://github.com/rfrench/nodejs-ectoken","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rfrench/nodejs-ectoken","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fnodejs-ectoken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fnodejs-ectoken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fnodejs-ectoken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fnodejs-ectoken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rfrench","download_url":"https://codeload.github.com/rfrench/nodejs-ectoken/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fnodejs-ectoken/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31925263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:19:20.377Z","status":"ssl_error","status_checked_at":"2026-04-17T10:19:18.682Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["authentication","ectoken","edgecast","edgio","node","node-js","nodejs","token"],"created_at":"2024-11-29T04:13:09.518Z","updated_at":"2026-04-17T10:31:06.590Z","avatar_url":"https://github.com/rfrench.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodejs-ectoken\n\u003e _node.js implementation of Edgio token (`ectoken`)_\n\n## Table of Contents\n\n- [Background](#background)\n- [Install](#install)\n- [Usage](#usage)\n- [Example](#example)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Background\n\nnode.js implementation of the \"Edgio Token\" (`ectoken`) -see main repo [ectoken](https://github.com/edgioinc/ectoken) for more details.\n\n# Install\n```\nnpm install ectoken\n```\n\n## Usage\n* **encrypt**(key, params, verbose)\n* **decrypt**(key, token, verbose)\n\n## Example\n```javascript\nconst ectoken = require('ectoken').V3;\n\n// encrypt\nconst token = ectoken.encrypt('keyvalue', 'ec_expire=1257642471\u0026ec_clientip=11.22.33.1');\n\n// decrypt\nconst params = ectoken.decrypt('keyvalue', token);\n```\n\n## Contribute\nWe welcome issues, questions and pull requests.\n\n## License\nThis project is licensed under the terms of the Apache 2.0 open source license. Please refer to the `LICENSE` file for the full terms.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfrench%2Fnodejs-ectoken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frfrench%2Fnodejs-ectoken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfrench%2Fnodejs-ectoken/lists"}