
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@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 11,358 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.