noddity-fs-retrieval

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i noddity-fs-retrieval

Weekly Downloads

19

Version

1.1.0

License

VOL

Last publish

Collaborators

  • artskydj