
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@types/flubber
Advanced tools
TypeScript definitions for flubber
npm install --save @types/flubber
This package contains type definitions for flubber (https://github.com/veltman/flubber#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flubber.
export type Interpolator = (t: number) => string;
export type Shape = number[][] | string;
export interface Options {
maxSegmentLength?: number;
string?: boolean;
single?: boolean;
}
export function interpolate(fromShape: Shape, toShape: Shape, options?: Options): Interpolator;
export function toCircle(fromShape: Shape, x: number, y: number, r: number): Interpolator;
export function toRect(
fromShape: Shape,
x: number,
y: number,
width: number,
height: number,
options?: Options,
): Interpolator;
export function fromCircle(x: number, y: number, radius: number, toShape: Shape, options?: Options): Interpolator;
export function fromRect(
x: number,
y: number,
width: number,
height: number,
toShape: Shape,
options?: Options,
): Interpolator;
export function separate(fromShape: Shape, toShapeList: Shape[], options?: Options): Interpolator;
export function combine(fromShapeList: Shape[], toShape: Shape, options?: Options): Interpolator;
export function interpolateAll(fromShapeList: Shape[], toShapeList: Shape[], options?: Options): Interpolator;
export function toPathString(ring: Array<[number, number]>): string;
export function splitPathString(pathString: string): string[];
These definitions were written by Huxulm.
FAQs
TypeScript definitions for flubber
The npm package @types/flubber receives a total of 31,910 weekly downloads. As such, @types/flubber popularity was classified as popular.
We found that @types/flubber 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 detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.