{"id":20955163,"url":"https://github.com/pereslavtsev/memento-client","last_synced_at":"2025-06-29T17:37:30.763Z","repository":{"id":115093887,"uuid":"422528858","full_name":"pereslavtsev/memento-client","owner":"pereslavtsev","description":"Time Travel APIs NodeJS library with full support of the Memento protocol.","archived":false,"fork":false,"pushed_at":"2021-11-09T10:00:03.000Z","size":301,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T01:50:54.359Z","etag":null,"topics":["memento","timetravel","wayback","webarchive"],"latest_commit_sha":null,"homepage":"https://timetravel.mementoweb.org/guide/api/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pereslavtsev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-29T10:12:20.000Z","updated_at":"2021-11-09T10:00:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d602a65-fcfc-4f76-a30c-159310965f7d","html_url":"https://github.com/pereslavtsev/memento-client","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"f9dfa5dc2d62725628e1ff0b7bed5fd566dedfe4"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pereslavtsev/memento-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereslavtsev%2Fmemento-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereslavtsev%2Fmemento-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereslavtsev%2Fmemento-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereslavtsev%2Fmemento-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pereslavtsev","download_url":"https://codeload.github.com/pereslavtsev/memento-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereslavtsev%2Fmemento-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262393077,"owners_count":23304041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["memento","timetravel","wayback","webarchive"],"created_at":"2024-11-19T01:18:25.131Z","updated_at":"2025-06-29T17:37:30.731Z","avatar_url":"https://github.com/pereslavtsev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memento-client\n\n![npm](https://img.shields.io/npm/v/@mementoweb/client)\n![CircleCI](https://img.shields.io/circleci/build/github/pereslavtsev/memento-client/master)\n![Coveralls](https://img.shields.io/coveralls/github/pereslavtsev/memento-client)\n![Codacy branch grade](https://img.shields.io/codacy/grade/61b09fff2cdf4575bfc3fcbf046a3812/master)\n\n[Time Travel APIs](http://timetravel.mementoweb.org/guide/api/) NodeJS library with full support of the Memento protocol, originally adapted from [memento-client](https://github.com/jarofghosts/memento-client).\n\n## Installation\n```bash\n$ npm install @mementoweb/client\n\n# or using yarn:\n$ yarn add @mementoweb/client\n\n# or using pnpm:\n$ pnpm add @mementoweb/client\n```\n\n## Usage\n```typescript\nimport MementoClient from '@mementoweb/client'\n\nconst client = new MementoClient('https://timetravel.mementoweb.org');\nconst { mementos: { closest } } = await client.uri('http://cnn.com').mementos('2013');\nconsole.log(closest);\n```\n\n## Test\n```bash\n# unit tests\n$ pnpm run test\n\n# e2e tests\n$ pnpm run test:e2e\n\n# test coverage\n$ pnpm run test:cov\n```\n\n## License\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpereslavtsev%2Fmemento-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpereslavtsev%2Fmemento-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpereslavtsev%2Fmemento-client/lists"}