Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
types-registry
Advanced tools
A registry of TypeScript declaration file packages published within the @types scope.
The types-registry npm package is a registry of TypeScript declaration file packages published on npm. It is used to manage and provide type definitions for JavaScript libraries, enabling developers to use TypeScript's type-checking features with those libraries.
Accessing Type Definitions
This feature allows you to access the list of all type definitions available in the registry. The code sample demonstrates how to require the types-registry package and log the available type definitions.
const typesRegistry = require('types-registry');
const types = typesRegistry.entries;
console.log(types);
Querying Specific Type Definitions
This feature allows you to query specific type definitions by package name. The code sample shows how to access the type definitions for the 'react' package.
const typesRegistry = require('types-registry');
const specificType = typesRegistry.entries['react'];
console.log(specificType);
tsd is a package manager for TypeScript definition files. It allows you to search, install, and manage TypeScript definitions from the DefinitelyTyped repository. Unlike types-registry, which is a registry of type definitions, tsd is a tool for managing those definitions.
typings is another package manager for TypeScript definition files. It provides a way to install and manage type definitions from various sources, including DefinitelyTyped, npm, and GitHub. It offers more flexibility compared to types-registry, which is focused solely on the registry of type definitions.
This package contains a listing of all packages published to the @types scope on NPM. Generated by types-publisher.
FAQs
A registry of TypeScript declaration file packages published within the @types scope.
The npm package types-registry receives a total of 3,839,027 weekly downloads. As such, types-registry popularity was classified as popular.
We found that types-registry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.