A javascript api client for localwiki.org that works on the server & browser.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
localwiki-client.min.js
package.json
test.js

README.md

javascript localwiki client

A simple javascript wrapper for the localwiki api.

Installation:

npm install --save localwiki-client

Works in node or the browser using browserify. Or use the localwiki-client.min.js file for browser-side code.

Example

var wiki = new LocalWikiClient();

wiki.fetch('pages', '1', function(err, res){
  t.ok(res);
});

For more examples see the test.js file.

License

MIT