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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    24
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    24
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i noddity-fs-retrieval

Weekly Downloads

24

Version

1.1.0

License

VOL

Last publish

Collaborators

  • artskydj