Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
empower-affiliate-search
Advanced tools
A react component that can be used to filter results from a REST API sources.
A react component that can be used to filter results from a REST API sources.
Component
npm install empower-affiliate-search
Repository
npm install
npm start
import AffiliateSearch from 'empower-affiliate-search';
const AFFILIATE_OPTIONS = [
{
"label": "Fruit Name",
"value": "fruit_name",
"type": "string",
},
{
"label": "Status",
"value": "fruit_status",
"type": "multiple",
"categoryOptions": [
{
"label": "Fresh",
"value": "fresh"
},
{
"label": "Rotten",
"value": "rotten"
}
]
},
]
const extractValueFromAffiliate = (val) => {
...Statement
}
The getValue can be bind to a function of your choice to extract the value from the affiliate and shall be triggered upon enter.
<AffiliateSearch
options={AFFILIATE_OPTIONS}
getValue={(val) => extractValueFromAffiliate(val)}
/>
The affiliate will produce the following value upon enter. The "AND" object literal represent the string option category while the "OR" represent the select option category.
{
AND: { "fruit_name": "|test|" } ...other string option value,
OR: { "fruit_status": ["fresh"] } ...other select option value
}
Jephunneh Viernes - jephunneh.viernes@empowerteams.io
FAQs
A react component that can be used to filter results from a REST API sources.
The npm package empower-affiliate-search receives a total of 13 weekly downloads. As such, empower-affiliate-search popularity was classified as not popular.
We found that empower-affiliate-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.