Installations
npm install object-omit-ignore-case
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
7.7.2
NPM Version
4.1.2
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
RomanPanchenko
Download Statistics
Total Downloads
771
Last Day
1
Last Week
4
Last Month
7
Last Year
66
GitHub Statistics
10 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
1.36 kB
Minified
690.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.0.3
Package Id
object-omit-ignore-case@0.0.3
Size
2.53 kB
NPM Version
4.1.2
Node Version
7.7.2
Total Downloads
Cumulative downloads
Total Downloads
771
Last day
0%
1
Compared to previous day
Last week
0%
4
Compared to previous week
Last month
75%
7
Compared to previous month
Last year
-12%
66
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
What you'll get?
Analog for lodash "omit", but with possibility to ignore case of omitted properties
1. Install the package
1npm install object-omit-ignore-case --save
2. Use it as lodash omit, but put '/i' at the end of each property which case should be ignored
1var req = { 2 headers: { 3 'X-HTTP-Header': 'value', 4 Auth: 'value' 5 }, 6 body: { 7 LOG: { 8 'Body-Param1': 1, 9 'Body-Param2': 2, 10 } 11 } 12}; 13 14var omit_ic = require('object-omit-ignore-case'); 15 16var objectToLog = omit_ic(req, ['headers.x-http-header/i', 'body.log/i.body-param1/i']); 17/* 18objectToLog = { 19 headers: { 20 Auth: 'value' 21 }, 22 body: { 23 LOG: { 24 Body-Param2: 2 25 } 26 } 27} 28*/ 29 30
That's it!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/10 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
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
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/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