Installations
npm install node-red-contrib-br-validations
Developer Guide
Typescript
No
Module System
N/A
Node Version
6.10.2
NPM Version
4.6.1
Score
43.3
Supply Chain
84.8
Quality
68.6
Maintenance
25
Vulnerability
98.7
License
Contributors
Unable to fetch Contributors
Languages
JavaScript (75.92%)
HTML (24.08%)
Developer
sciensa
Download Statistics
Total Downloads
3,278
Last Day
3
Last Week
6
Last Month
13
Last Year
464
GitHub Statistics
2 Stars
17 Commits
3 Forks
3 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
0.1.0
Package Id
node-red-contrib-br-validations@0.1.0
Size
6.06 kB
NPM Version
4.6.1
Node Version
6.10.2
Total Downloads
Cumulative downloads
Total Downloads
3,278
Last day
0%
3
Compared to previous day
Last week
500%
6
Compared to previous week
Last month
44.4%
13
Compared to previous month
Last year
-58.1%
464
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
node-red-contrib-br-validations
A simple Node-Red node that validates some Brazilian documents such as CPF, CNPJ and PIS - heavily based on the br-validations library.
Pre-requisites
Requires Node-Red version 0.16.2 or more recent.
Installation
Add this line to your package.json file:
1"dependencies": { 2 "node-red-contrib-br-validations": "0.1.0" 3}
And then execute:
$ npm install
Or install it yourself as:
$ npm i -S node-red-contrib-br-validations
Usage
- Set the Document Types to be validates on the node configuration;
- Send the
message.document
to be validated to the BRValidations node; - Connect the success node to the first output (top);
- Connect the error node to the second output (bottom);
Development
1. Clone the project
$ git clone https://github.com/sciensa/node-red-contrib-br-validations.git
2. Go to the project directory
$ cd node-red-contrib-br-validations
3. Install the dependencies
$ npm install
4. Run the unit tests
$ npm run test:unit
5. Link the project
$ npm link
6. Run the node-red and check the node out
Contributing
- Follow the Semantic Versioning Specification.
- Follow the GitHub Flow.
- Follow the 5 Useful Tips For A Better Commit Message article and the How to Write a Git Commit Message post.
- Install and use Commitizen.
- Bug reports and pull requests are welcome on GitHub.
- This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The node is available as open source under the terms of the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.txt:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2024-12-16
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