Installations
npm install @denorg/invert-kv
Developer Guide
Typescript
No
Module System
N/A
Node Version
12.17.0
NPM Version
6.14.5
Score
65.7
Supply Chain
67.1
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (100%)
Developer
Download Statistics
Total Downloads
533
Last Day
1
Last Week
4
Last Month
10
Last Year
153
GitHub Statistics
3 Stars
12 Commits
1 Forks
6 Watching
1 Branches
6 Contributors
Package Meta Information
Latest Version
2.0.0
Package Id
@denorg/invert-kv@2.0.0
Unpacked Size
5.36 kB
Size
2.49 kB
File Count
9
NPM Version
6.14.5
Node Version
12.17.0
Total Downloads
Cumulative downloads
Total Downloads
533
Last day
0%
1
Compared to previous day
Last week
33.3%
4
Compared to previous week
Last month
-23.1%
10
Compared to previous month
Last year
75.9%
153
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
2
🙃 Invert KV
Invert the key-value pairs in an object in Deno. This is a port of sindresorhus/invert-kv.
1import { invert } from "https://deno.land/x/invert_kv/mod.ts"; 2 3const obj = { hello: "world" }; 4 5const result = invert(); // { world: "hello" }
👩💻 Development
Run tests:
1deno test
📄 License
MIT © Denorg
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/denorg/.github/SECURITY.md:1
- Info: Found linked content: github.com/denorg/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/denorg/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/denorg/.github/SECURITY.md:1
Reason
Found 0/12 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/deno.yml:1
- Warn: no topLevel permission defined: .github/workflows/test.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deno.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/denorg/invert-kv/deno.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deno.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/denorg/invert-kv/deno.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deno.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/denorg/invert-kv/deno.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deno.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/denorg/invert-kv/deno.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/denorg/invert-kv/test.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/denorg/invert-kv/test.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/deno.yml:41
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
4.1
/10
Last Scanned on 2025-01-27
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