Gathering detailed insights and metrics for types-pkg-json
Gathering detailed insights and metrics for types-pkg-json
Gathering detailed insights and metrics for types-pkg-json
Gathering detailed insights and metrics for types-pkg-json
pkg-types
Node.js utilities and TypeScript definitions for `package.json` and `tsconfig.json`
read-pkg
Read a package.json file
pkg-config
parse the closest `package.json` and get package specific configurations
package-json-from-dist
Load the local package.json from either src or dist folder
npm install types-pkg-json
94.1
Supply Chain
100
Quality
75.5
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
2 Stars
24 Commits
1 Watching
1 Branches
1 Contributors
Updated on 12 Oct 2020
Minified
Minified + Gzipped
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
-0.2%
1,691
Compared to previous day
Last week
-31.7%
12,090
Compared to previous week
Last month
46.5%
47,212
Compared to previous month
Last year
55.5%
530,087
Compared to previous year
2
1
Type checking for package.json.
Derived from type-fest with a focus on package.json types.
1yarn add types-pkg-json
1npm install types-pkg-json
1import { PackageJSON, fileName, PackageJSONFileName } from "types-pkg-json"; // Type for NPM's package.json file 2 3console.log(fileName); // "package.json"
1import { 2 BugsLocation, // Used by the `bugs` field. 3 LicenseID, // Used by the `license` and `licenses.type` fields. 4 Person, // Used by the `author`, `contributors`, and `maintainers` fields. 5 DirectoryLocations, // Used by the `directories` field. 6 Repository, // Used by the `repository` field. 7 Scripts, // Used by the `scripts` field. 8 Dependencies // Used by the `dependencies`, `devDependencies`, `optionalDependencies`, and `peerDependencies` fields. 9} from "types-pkg-json";
1import { 2 NonStandardEntryPoints, // module, esnext, browser, sideEffects 3 TypeScriptConfiguration, // types, typings 4 WorkspaceConfig, // packages, nohoist 5 YarnConfiguration, // workspaces, flat, resolutions 6 JSPMConfiguration, // jspm 7 ESLintConfiguration // eslintConfig 8} from "types-pkg-json";
1import { 2 isJSONObject 3 JSONObject, 4 JSONValue, 5 JSONArray, 6 Primitive, 7 LiteralUnion 8} from "types-pkg-json"; 9 10function isJSONObject(object?: JSONValue): object is JSONObject;
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
53 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More