Installations
npm install @absolunet/joi
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>= 12.0.0
Node Version
12.11.1
NPM Version
6.13.4
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
Download Statistics
Total Downloads
25,222
Last Day
4
Last Week
15
Last Month
318
Last Year
5,276
GitHub Statistics
16 Commits
2 Watching
3 Branches
1 Contributors
Bundle Size
144.46 kB
Minified
42.30 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.3.0
Package Id
@absolunet/joi@0.3.0
Size
3.86 kB
NPM Version
6.13.4
Node Version
12.11.1
Publised On
13 Jan 2020
Total Downloads
Cumulative downloads
Total Downloads
25,222
Last day
-77.8%
4
Compared to previous day
Last week
-82.8%
15
Compared to previous week
Last month
-7.8%
318
Compared to previous month
Last year
-22.3%
5,276
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Dev Dependencies
3
@absolunet/joi
joi extensions + extra goodies
Install
1$ npm install @absolunet/joi
Usage
1import { Joi, validateArgument } from '@absolunet/joi'; 2 3class MyClass () { 4 5 constructor(path, value) { 6 validateArgument('path', path, Joi.absolutePath().required()); 7 validateArgument('value', value, Joi.number().required()); 8 9 // Do your stuff 10 } 11 12}
Extensions
absolutePath
Validate that the value is an absolute *nix or Windows path.
joiSchema
Validate that the value is a joi schema.
kebabCase
Validate that the value is kebab-case.
variableName
Validate that the value is a JavaScript valid variable name via is-var-name.
Documentation
View documentation
License
MIT © Absolunet
No vulnerabilities found.
Reason
security policy file detected
Details
- Info: security policy file detected: security.md:1
- Info: Found linked content: security.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: security.md:1
- Info: Found text in security policy: security.md:1
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
Found 0/16 approved changesets -- score normalized to 0
Reason
project is archived
Details
- Warn: Repository is archived.
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
3.9
/10
Last Scanned on 2025-01-13
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