Socket
Book a DemoInstallSign in
Socket

dom-request-callback

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-request-callback

Handle DOMRequest objects with plain old callbacks.

latest
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

dom-request-callback

dom-request-callback lets you handle Firefox’s DOMRequest objects with plain old callbacks.

install

$ npm install dom-request-callback

usage

var handle = require('dom-request-callback')
var request = navigator.mozApps.getInstalled()

handle(request, function (error, apps) {
  error ? console.error(error) : console.log(apps)
})

test

Firefox (11+) only

$ git clone git@github.com:michaelrhodes/dom-request-callback.git
$ npm install && npm test

Keywords

DOMRequest

FAQs

Package last updated on 14 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts