Merge browser & nodejs barebone API library
Open, Needs TriagePublic


I wrote a very simple nodejs library for MediaWiki API -
It works great for my very simple usecases, but obviously I would much rather merge it with other similar work, especially the mw api module we have for the browser.

Could someone with good knowledge of browserify/npm/... set up a package that can be used for both browser & node?

I think it should be:

  • promise based (plugable "promise" provider)
  • plugable "request" provider
  • a few minor utility functions should also be supplied by the running environment (I use underscore.js for nodejs, but I suspect it is too heavy for the few functions i need)
Yurik created this task.Apr 28 2016, 5:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 28 2016, 5:10 PM