
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@types/find-duplicated-property-keys
Advanced tools
TypeScript definitions for find-duplicated-property-keys
npm install --save @types/find-duplicated-property-keys
This package contains type definitions for find-duplicated-property-keys (https://github.com/SebastianG77/find-duplicated-property-keys#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-duplicated-property-keys.
/**
* A package for detecting all duplicated property keys of a JSON string.
* It can either be used as a standalone tool for validating JSON files or as a submodule for other Node.js projects.
*/
declare function findDuplicatedPropertyKeys(content: string): findDuplicatedPropertyKeys.PropertyInfo[];
declare namespace findDuplicatedPropertyKeys {
interface PropertyInfo {
/**
* The key name of the duplicated property
*/
key: string;
/**
* The parent object of a property key
*/
parent: PropertyInfo;
/**
* The number of property keys having the same key and parent object
*/
occurrence: number;
/**
* Returns a list of property keys, which represents the path to the property key of the current object.
*/
propertyPath(): string[];
/**
* Prints the path to the property key. However, since all necessary raw data are also contained by the object,
* the result objects can also be represented in any other way if desired.
*/
toString(): string;
}
}
export = findDuplicatedPropertyKeys;
These definitions were written by Piotr Błażejewicz.
FAQs
TypeScript definitions for find-duplicated-property-keys
The npm package @types/find-duplicated-property-keys receives a total of 15,521 weekly downloads. As such, @types/find-duplicated-property-keys popularity was classified as popular.
We found that @types/find-duplicated-property-keys 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.