Time Travel APIs NodeJS library with full support of the Memento protocol, originally adapted from memento-client.
$ npm install @mementoweb/client
# or using yarn:
$ yarn add @mementoweb/client
# or using pnpm:
$ pnpm add @mementoweb/client
import MementoClient from '@mementoweb/client'
const client = new MementoClient('https://timetravel.mementoweb.org');
const { mementos: { closest } } = await client.uri('http://cnn.com').mementos('2013');
console.log(closest);
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
ISC