Package Exports
- special-hooks
- special-hooks/dist/index.es.js
- special-hooks/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (special-hooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Special Hooks
This project was made to provide some easy and special hooks for hassle-free development.
Available Hooks
useCardType - This hook is used to get the card type of a card.
const [cardType, setCardType] = useCardType(cardNumber);useValidateEmail - This hook is used to get the card type of a card.
const isValid = useValidateEmail(email);useRandomEmails - This hook generates random emails.
const emails = useRandomEmails(count);useRandomColors - This hook is made to generate random colors.
const colors = useRandomColors(count);