Search, copy, and preview validator functions directly from the official validator.js repository.
- Search through validator.js functions
- Copy function code directly to your clipboard
- Preview function implementation and tests
- Quick access to documentation
Before using this extension, you'll need to set up a GitHub Personal Access Token with repository read permissions.
- Go to GitHub Settings > Developer Settings > Personal Access Tokens > Tokens (classic)
- Click 'Generate new token (classic)'
- Give your token a descriptive name (e.g., 'Raycast Validator Functions')
- Select the following permissions:
repo:statuspublic_repo
- Click 'Generate token'
- Copy your token immediately (you won't be able to see it again!)
- In Raycast, paste the token in the 'GitHub Access Token' field on the welcome screen. If you don't see the welcome screen, open the extension settings:
- Press
⌘ + , - Search for 'Validator Functions'
- Paste your GitHub token in the 'GitHub Access Token' field
- Press
- Open Raycast
- Search for 'Validator Function Search'
- Type the name of the validator function you're looking for
- Press
Enterto view details and copy the function
If you encounter any issues or have questions, please create an issue.