dshaw/blogit — pull request #3 by kitcambridge (2012-06-08 05:17:36+00:00)
Title: Core rewrite

This is a core rewrite that I worked on today. It's quite a significant departure from the current design, so I completely understand if you'd rather not merge this. The changes include:

* `post.js`, `posts.js`, and `render.js` have been consolidated into `index.js`.
* The logic for rendering posts has been consolidated into `Blogit#getPost`, as it is entirely synchronous.
* The API is now exposed through a `Blogit` constructor that accepts an `options` object.
* A simple `blogit` executable replaces `blog.js`. The logic for creating the HTTP server has been moved into `Blogit#createBlog`.
* The `async` dependency has been replaced with [`async-it`](https://github.com/tobie/async-it), which supports parallel mapping (`async`'s implementation is serial).

No new features have been added yet.