Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
mozillians-client
Advanced tools
Install with npm mozillians-client --save
, and initialize as follows:
var Mozillians = require('mozillians-client');
var mozillians = new Mozillians('YOUR_API_KEY', {retries: 6});
mozillians.users({email: '...'}).then(function(result) {
// Do something with result
}, function(err) {
// Handle err
});
The module implements best practice REST API client principals such as:
For details on these options see the reference below or check out the source. Also refer to API documentation for more details on the options for the methods the the return value of the methods, all methods returns promises that should be easy to work with.
Install with npm mozillians-client --save
, and load as Mozillians
.
var Mozillians = require('mozillians-client');
Then you will have the following methods.
new Mozillians(apiKey, options)
Create new Mozillians client with given apiKey
and options:
timeout
, client side timeout,hostname
, alternative hostname in-place of 'mozillians.org',agent
, an https.Agent
instance,retries
, max number of request retries,delayFactor
, factor by which delays between retries increase,maxDelay
, maximum delay between retries,transientErrorCodes
, error.codes for which requests are retried; these can
be syscall errors like "ECONNRESET" or integer HTTP error codes like 503.Mozillians#users(options)
Get users, given options:
is_vouched
, boolean - Return only vouched/unvouched usersusername
, string - Return user with matching usernamefull_name
, string - Return user with matching full nameircname
, string - Return user with matching ircnameemail
, string - Return user with matching primary/alternate emailcountry
, string - Return users with matching countryregion
, string - Return users with matching regioncity
, string - Return users with matching citypage
, integer - Return results contained in specific pagelanguage
, string - Return users speaking language matching language codegroup
, string - Return users who are members of given group nameskill
, string - Return users with skill matching skill nameIf a next
or previous
page is available the result object will have a
nextPage()
and previousPage()
respectfully. Elements the results
array
will have a details()
method returning further details if available.
Mozillians#groups(options)
Get groups, given options:
name
, string - Return results matching given namecurator
, integer - Return results matching given mozillians idfunctional_area
, true/false - only groups that are functional areasmembers_can_leave
, true/false - only groups with a members_can_leave policyaccepting_new_members
, true/false - only groups with an accepting_new_members policypage
, integer - Return results contained in specific pageIf a next
or previous
page is available the result object will have a
nextPage()
and previousPage()
respectfully. Elements the results
array
will have a details()
method returning further details if available.
Mozillians#skills(options)
Get skills, given options:
name
, string - Return results matching given namepage
, integer - Return results contained in specific pageIf a next
or previous
page is available the result object will have a
nextPage()
and previousPage()
respectfully. Elements the results
array
will have a details()
method returning further details if available.
This module is released under MPL 2.0.
FAQs
Client library for mozillians.org
The npm package mozillians-client receives a total of 1 weekly downloads. As such, mozillians-client popularity was classified as not popular.
We found that mozillians-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.