
Security News
Research
Destructive npm Packages Disguised as Utilities Enable Remote System Wipe
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
@types/gravatar
Advanced tools
TypeScript definitions for gravatar
npm install --save @types/gravatar
This package contains type definitions for gravatar (https://github.com/emerleite/node-gravatar).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gravatar.
export type Protocol = false | "http" | true | "https";
export interface Options {
cdn?: string | undefined;
d?: string | undefined;
default?: string | undefined;
f?: string | undefined;
forcedefault?: string | undefined;
format?: string | undefined;
protocol?: Protocol | undefined;
r?: string | undefined;
rating?: string | undefined;
s?: string | undefined;
size?: string | undefined;
}
/**
* @param email - The gravatar email
* @param [options] - Query string options
* @param [protocol] - Define if will use no protocol, http or https gravatar URL.
* Default is 'undefined', which generates URLs without protocol.
* True to force https and false to force http
*/
export function url(email: string, options?: Options, protocol?: boolean): string;
/**
* @param email - The gravatar email
* @param [options] - Query string options
* @param [protocol] - Define if will use no protocol, http or https gravatar URL.
* Default is 'undefined', which generates URLs without protocol.
* True to force https and false to force http
*/
export function profile_url(email: string, options?: Options, protocol?: boolean): string;
These definitions were written by Denis Sokolov, and Piotr Błażejewicz.
FAQs
TypeScript definitions for gravatar
The npm package @types/gravatar receives a total of 17,470 weekly downloads. As such, @types/gravatar popularity was classified as popular.
We found that @types/gravatar 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.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.
Research
Security News
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.