typescriptpdx_blog
A simple module that gets the latest metadata from the blog posts on the TypeScriptPDX blog
Basic Usage
var Blog = require("typescriptpdx_blog");
var pdxBlog = new Blog();
pdxBlog.on("end", console.dir);
pdxBlog.on("error", console.error);
Example of Returned Data
[
{
title: 'WebStorm and TypeScript',
link: 'http: //typescriptpdx.com/blog/2015/07/webstorm-and-typescript',
publishDate: new Date("Sat Jul 25 2015 17:00:00 GMT-0700 (PDT)")
},
{
title: 'TypeScript - A Brief Overview',
link: 'http: //typescriptpdx.com/blog/2015/07/typescript-a-brief-overview',
publishDate: new Date("Sun Jul 12 2015 17:00:00 GMT-0700 (PDT)")
}
]
title
and link
are string
s and publishData
is a JavaScript Date
object.