web-archive

An utility that uses archive.is / archive.today to archive a webpage from a given url.

Usage no npm install needed!

<script type="module">
  import webArchive from 'https://cdn.skypack.dev/web-archive';
</script>

README

node-archive.is

A wrapper to retrieve an archive.is archive for webpage given an URL

Usage example

const archive = require("web-archive");
archive.save("https://www.npmjs.com/package/web-archive")
    .catch(error=>console.error(error))
    .then(url=> {
        console.log(`The generated archive can be reached at ${url}`);
    });