
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
@gradecam/restler-q
Advanced tools

(C) Andrew Newdigate (@suprememoocow), Licensed under the MIT-LICENSE
An extremely simple Q promises wrapper for Don Wrong's Restler library.
npm install restler-q
The interface is similar to Restler's interface:
var rest = require('restler-q');
rest.get('https://api.github.com/orgs/Troupe/repos')
.then(function(repos) {
assert(Array.isArray(repos));
})
.nodeify(done);
If you would like to gain access to the response object, do it like this
var rest = require('restler-q').spread; // Note the .spread on the end!
rest.get('https://api.github.com/orgs/Troupe/repos')
.spread(function(repos, response) {
// Use Q's `spread`, not `then`
assert(Array.isArray(repos));
})
.fail(function(err) {
// err.response contains the HTTP Response
})
.nodeify(done);
npm install
make test
abort and retry methods.FAQs
Q Wrapper for Restler
We found that @gradecam/restler-q demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.