1.1.0 • Published 9 years ago

noddity-fs-retrieval v1.1.0

Weekly downloads
25
License
VOL
Repository
github
Last release
9 years ago

Noddity FS Retrieval

Build Status

Alternative to noddity-retrieval, that uses the file system instead of a server.

example

	var retrieve = new Retrieve('./content')

	retrieve.getIndex(function(err, index) {
		if (!err && index.length > 0) {
			// Get the most recent post
			retrieve.getPost(index.pop(), function(err, post) {
				console.log("Found post named " + post.metadata.title)
				console.log("The words inside it are:\n" + post.content)
			})
		}
	})

license

VOL