Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A javascript api client for localwiki.org that works on the server & browser.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.