Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
relevant-urban
Advanced tools
Urban Dictionary API wrapper made for everyone with useful methods using promises and snekfetch
This module was meant to replace shitty urban module
as it uses callbacks and does useless stuff.
const urban = require('relevant-urban');
Methods | returns | description |
---|---|---|
urban('string') | => Promise<Definition> | Gets first definition from urban matching provided query |
urban.random() | => Promise<Definition> | Gets random definition from urban |
urban.all('string') | => Promise<Array<Definition>> | Gets all definitions from page 1 matching provided query |
urban.random('string') | => Promise<Definition> | Gets random definition from urban matching provided query |
urban.search('string'[, page]) | => Promise<api response> | Gets raw response from api without any formating |
NOTE: urban.random()
method doesn't have tags and sounds
Definition {
id: 69266,
word: 'hello',
definition: 'what you say when your talking casually with friends and your mom walks in the room',
example: 'What the hell(mom enters)-o mom.',
urbanURL: 'http://hello.urbanup.com/69266',
author: 'mad at the world',
thumbsUp: 3297,
thumbsDown: 936,
tags: [ 'hi', 'hey', 'greeting', 'yo', 'goodbye' ],
sounds: [ 'http://media.urbandictionary.com/sound/hello-7503.mp3',
'http://media.urbandictionary.com/sound/hello-9778.mp3',
'http://media.urbandictionary.com/sound/hello-9897.mp3',
'http://media.urbandictionary.com/sound/hello-10454.mp3',
...]
}
FAQs
Urban Dictionary API wrapper made for everyone with useful methods using promises and snekfetch
We found that relevant-urban demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.