Skip to content

Instantly share code, notes, and snippets.

@neofreko
Created October 5, 2015 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neofreko/cc6716312c94783b5596 to your computer and use it in GitHub Desktop.
Save neofreko/cc6716312c94783b5596 to your computer and use it in GitHub Desktop.
var summary = require('node-tldr');
summary.summarize('https://aws.amazon.com/blogs/aws/are-you-well-architected/', function(result, failure) {
if (failure) {
console.log("An error occured! " + result.error);
}
console.log(result.title);
console.log(result.words);
console.log(result.compressFactor);
console.log(result.summary.join("\n"));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment