{"repo":"wabarc/cairn","free":true,"listed":false,"github":"https://github.com/wabarc/cairn","clone":"git clone https://github.com/wabarc/cairn.git","description":"NPM package and CLI tool for saving web page as single HTML file","language":"TypeScript","stars":51,"topics":["archive","internet-archive","memento","typescript","npm-package","obelisk","cli","mhtml","node","nodejs"],"license":"MIT","category":"cli-tools","readme_excerpt":"Cairn Cairn is an npm package and CLI tool for saving the web page as a single HTML file, it is TypeScript implementation of Obelisk. Features Usage As CLI tool As npm package Instance methods cairn#request({ url: string }): this cairn#options({}): this - proxy?: string; - userAgent?: string; - disableJS?: boolean; - disableCSS?: boolean; - disableEmbeds?: boolean; - disableMedias?: boolean; - timeout?: number; cairn#archive(): Promise cairn#Archived - url: string; - webpage: cheerio.Root; - status: 200 400 401 403 404 500 502 503 504; - contentType: 'text/html' 'text/plain' 'text/ '; Request Params request options Response Schema for v1.x: The archive method will return webpage body as string. for v2.x: License Cairn has been re-licensed under MIT since version 3.0.0. If you are using versions 2 and 1, you should note that it is licensed under GPL 3.0. This software is released under the terms of the MIT. See the LICENSE file for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/wabarc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wabarc/cairn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}