Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    simplenotepublic

    SimpleNote

    SimpleNote API wrapper

    Example

    var Note = SimpleNote(email, pass)
    Note.all(function(err, notes) {
      var keys = notes.select('blog').map('key');
      note.get(keys[0], function(err, note) {
        console.log(note.content);
      })
    });

    API

    all([n], fn)

    Get n note indexes from the server. Defaults to 100. fn has the signature function(err, notes) where notes is an array

    get(key, fn)

    Get a note's data by key. key corresponds to the key returned by the index.

    TODO

    • update
    • delete
    • create
    • tag

    Keywords

    none

    install

    npm i simplenote

    Downloadsweekly downloads

    10

    version

    0.0.2

    license

    none

    last publish

    collaborators

    • avatar