
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Unofficial Node.js API for archive.is
npm install archive.is --save
var archive = require('archive.is');
// Get the last existing snapshot of https://www.kernel.org
archive.timemap('https://www.kernel.org').then(function (timemap) {
console.log(timemap.last);
// { url: 'https://archive.is/20160109153444/https://www.kernel.org/',
// date: Sat, 09 Jan 2016 15:34:44 GMT }
});
// Take a new snapshot of https://www.kernel.org
archive.save('https://www.kernel.org').then(function (result) {
console.log(result.shortUrl); // https://archive.is/EJoGi
});
timemap(url, [callback])Get a list of all snapshots of a given page.
url {string} Page URLcallback {function} If omitted, a promise will be returnedReturned promise will be fulfilled with an object with the following keys:
original {string} Original page URLtimegate {string} Timegate URLfirst {Memento} The oldest snapshotlast {Memento} The newest snapshotmementos {Array.<Memento>} All snapshots sorted by date in ascending orderExample result:
{ original: 'https://www.kernel.org/',
timegate: 'https://archive.is/timegate/https://www.kernel.org/',
first:
{ url: 'https://archive.is/19980130085039/http://www.kernel.org/',
date: Fri, 30 Jan 1998 08:50:39 GMT },
last:
{ url: 'https://archive.is/20160127210011/https://www.kernel.org/',
date: Wed, 27 Jan 2016 21:00:11 GMT } }
mementos:
[ { url: 'https://archive.is/19980130085039/http://www.kernel.org/',
date: Fri, 30 Jan 1998 08:50:39 GMT },
{ url: 'https://archive.is/19990429093120/http://www.kernel.org/',
date:Thu, 29 Apr 1999 09:31:20 GMT },
...
{ url: 'https://archive.is/20160127180405/https://www.kernel.org/',
date: Wed, 27 Jan 2016 18:04:05 GMT },
{ url: 'https://archive.is/20160127210011/https://www.kernel.org/',
date: Wed, 27 Jan 2016 21:00:11 GMT } ]
save(url, [options], [callback])Take a new snapshot of a page.
url {string} Page URLoptions {Object}options.anyway {boolean} Force snapshot taking, even if it already exists [false]callback {function} If omitted, a promise will be returnedReturned promise will be fulfilled with an object with the following keys:
id {string} Snapshot IDshortUrl {string} Short URL (https://archive.is/ + id)alreadyExists {boolean} Shows if the returned snapshot was newly created (false) or not (true)Note that anyway option cannot be used more than once in ~3–5 minutes for the same URL. So it is possible to get already existing snapshot, even after setting anyway to true.
Example result:
{ id: 'nUdVJ',
shortUrl: 'https://archive.is/nUdVJ',
alreadyExists: true }
Memento objecturl {string} Snapshot access URLdate {Date} Snapshot taking dateThe archive.is package is released under the GPL-3.0 license. See the LICENSE for more information.
FAQs
Unofficial Node.js API for archive.is
The npm package archive.is receives a total of 6 weekly downloads. As such, archive.is popularity was classified as not popular.
We found that archive.is demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.