
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
ceb-helpers
Advanced tools
This project contents the helpers we use in our nodejs projects
CEB-CORE development team
npm install ceb-helpers --save
This package use the next versioning system:
X.X.X
where each X represent a integer number, and a new change.
The first one represent new functionalities
, the second one represetn new improvements
, and the last one represent new fixes
.
|- Coverage
|- examples
| |- folder
|- src
| |- helper.js
|- test
| |- helper-test.js
|- .gitignore
|- gulpfile.js
|- index.js
|- package.json
|- package-lock.json
|- README.md
To add a new helper you will need to create three new files in examples
, src
, and test
folders.
They will follow the next pattern.
example
: HELPERNAME.jssrc
: HELPERNAME.jstest
: HELPERNAME-test.jsNote: remplace **HELPERNAME** with the name of your helper.
Also you will need to add a new reference in the index.js
file placed in the root folder following the next pattern.
Into module.exports
object add a new function.
**HELPERNAME**: () => {
return require('./src/**HELPERNAME**.js');
}
Note: be sure that your helper file have a export/
You will need to update the package.json
file placed in the root folder.
identify the property version
and increase the right number in plus one.
npm login
[Enter username]
[Enter password]
[Enter email]
If all is ok the console will show you something like this : Logged in as USERNAME on https://registry.npmjs.org/.
npm publish
Ref: https://docs.npmjs.com/getting-started/publishing-npm-packages
Note: you will need to have a NPM account, if you don't have one create one here: https://www.npmjs.com/signup
FAQs
Helper library incharged of providing a mysql client methods.
We found that ceb-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.