Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@holaluz/pomada
Advanced tools
A shared FE business logic repository.
Install the library:
npm i @holaluz/pomada
Import and execute the use case you need. For example, getting prices of the products of a supply point:
import { getProductPrices, getSupplyPoint } from '@holaluz/pomada'
getSupplyPoint(
{
cups: 'example cups',
},
{
onSuccess(supplyPoint) {
getProductPrices(
{
products: supplyPoint.contractableProducts,
consumption: supplyPoint.consumption,
currentPower: supplyPoint.currentPower,
desiredPower: supplyPoint.optimizedPower,
optimizedPower: supplyPoint.optimizedPower,
},
{
onSuccess(prices) {
console.log(prices)
},
onError(error) {
console.log(error)
},
}
)
},
onCupsAlreadyClient(supplyPoint) {
console.log(supplyPoint)
},
onCupsInvalid(cupsError) {
console.log(cupsError)
},
}
)
For a more in-depth documentation, check the docs.
This library reads a process.env.ENV
variable, and access staging APIs if ENV = staging
or production APIs if ENV = production
.
Use Visual Studio Code. Execute and debug code with its included Typescript debugger (pressing F5).
Documentation is generated automatically for every use case and models inside src
. Check out Typedoc for the available options.
FAQs
Holaluz shared FE business logic repository
We found that @holaluz/pomada demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.