
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@rxbenefits/admin-portal-shared-constants
Advanced tools
Shared constants for RxBenefits applications including routes, permissions, validation rules, and configuration values
Shared constants and configuration values for RxBenefits applications.
npm install @rxbenefits/shared-constants
import {
PageRoutes,
PermissionNames,
RegExPatterns,
ValidationRules
} from '@rxbenefits/shared-constants';
// Use route constants
const memberListRoute = PageRoutes.MEMBER_LIST;
// Use permission names
const canViewMembers = user.hasPermission(PermissionNames.MEMBER_VIEW);
// Use regex patterns
const emailIsValid = RegExPatterns.EMAIL.test(email);
// Use validation rules
const isValidZip = ValidationRules.zipCode(zipValue);
# Build the package
npm run build
# Run in development mode with watch
npm run dev
# Run tests
npm run test
# Lint code
npm run lint
This package is published to GitHub Packages:
npm publish
FAQs
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 for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.