simplenote

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i simplenote

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • mattmueller