@types/conf
Advanced tools
+8
-24
| { | ||
| "name": "@types/conf", | ||
| "version": "2.1.0", | ||
| "description": "TypeScript definitions for conf", | ||
| "license": "MIT", | ||
| "contributors": [ | ||
| { | ||
| "name": "Sam Verschueren", | ||
| "url": "https://github.com/SamVerschueren", | ||
| "githubUsername": "SamVerschueren" | ||
| }, | ||
| { | ||
| "name": "BendingBender", | ||
| "url": "https://github.com/BendingBender", | ||
| "githubUsername": "BendingBender" | ||
| } | ||
| ], | ||
| "version": "3.0.0", | ||
| "typings": null, | ||
| "description": "Stub TypeScript definitions entry for conf, which provides its own types definitions", | ||
| "main": "", | ||
| "types": "index", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| }, | ||
| "scripts": {}, | ||
| "author": "", | ||
| "repository": "https://github.com/sindresorhus/conf", | ||
| "license": "MIT", | ||
| "dependencies": { | ||
| "@types/node": "*" | ||
| }, | ||
| "typesPublisherContentHash": "6809efd3f6efcaaef1c33dd035cb1ec28d5fd54c4d42aa29b74be0d2d562f992", | ||
| "typeScriptVersion": "2.3" | ||
| "conf": "*" | ||
| } | ||
| } |
+2
-15
@@ -1,16 +0,3 @@ | ||
| # Installation | ||
| > `npm install --save @types/conf` | ||
| This is a stub types definition for conf (https://github.com/sindresorhus/conf). | ||
| # Summary | ||
| This package contains type definitions for conf (https://github.com/sindresorhus/conf). | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/conf | ||
| Additional Details | ||
| * Last updated: Fri, 14 Dec 2018 00:15:14 GMT | ||
| * Dependencies: @types/node | ||
| * Global values: none | ||
| # Credits | ||
| These definitions were written by Sam Verschueren <https://github.com/SamVerschueren>, BendingBender <https://github.com/BendingBender>. | ||
| conf provides its own type definitions, so you don't need @types/conf installed! |
| // Type definitions for conf 2.1 | ||
| // Project: https://github.com/sindresorhus/conf | ||
| // Definitions by: Sam Verschueren <https://github.com/SamVerschueren> | ||
| // BendingBender <https://github.com/BendingBender> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.3 | ||
| /// <reference types="node" /> | ||
| declare class Conf<T = any> implements Iterable<[string, T]> { | ||
| store: { [key: string]: T }; | ||
| readonly path: string; | ||
| readonly size: number; | ||
| constructor(options?: Conf.Options<T>); | ||
| get(key: string, defaultValue?: T): T; | ||
| set(key: string, val: T): void; | ||
| set(object: { [key: string]: T }): void; | ||
| has(key: string): boolean; | ||
| delete(key: string): void; | ||
| clear(): void; | ||
| onDidChange(key: string, callback: (oldVal: T | undefined, newVal: T | undefined) => void): void; | ||
| [Symbol.iterator](): Iterator<[string, T]>; | ||
| } | ||
| declare namespace Conf { | ||
| interface Options<T> { | ||
| defaults?: { [key: string]: T }; | ||
| configName?: string; | ||
| projectName?: string; | ||
| cwd?: string; | ||
| encryptionKey?: string | Buffer | NodeJS.TypedArray | DataView; | ||
| fileExtension?: string; | ||
| } | ||
| } | ||
| export = Conf; |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1708
-54.75%3
-25%0
-100%2
100%1
Infinity%1
Infinity%3
-82.35%1
Infinity%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed