Page MenuHomePhabricator

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)

Event Timeline

Yurik created this task.Apr 28 2016, 5:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 28 2016, 5:10 PM
merbst added a subscriber: merbst.Jun 15 2018, 3:09 PM
Restricted Application added a project: Core Platform Team. · View Herald TranscriptMon, Oct 7, 10:39 AM