npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-validate-component

v0.8.0

Published

A component library that checks the validity of data entered into 'input' tags and displays validation messages.

Downloads

469

Readme

react-validate-component

react-validate-component는 리액트 애플리케이션에서 입력 유효성 검사를 간편하게 처리할 수 있도록 도와주는 라이브러리입니다. 현재 VText 컴포넌트가 구현되어 있으며, 이 컴포넌트를 사용하여 간단하게 텍스트 입력의 유효성을 검사할 수 있습니다.

react-validate-component is a library that helps simplify input validation in React applications. Currently, it includes the VText component, which allows for easy validation of text input.

설치, Install

react-validate-component 라이브러리는 npm 또는 yarn을 통해 설치할 수 있습니다.

The react-validate-component library can be installed via npm or yarn.

npm

npm install react-validate-component

yarn

yarn add react-validate-component

사용법, How to use

현재 라이브러리에는 vText, vCheckbox, vURL, vEmail, vRadio, vColor, vRange, vDate 컴포넌트가 구현되어 있습니다. 이 컴포넌트를 사용하여 텍스트 입력 필드의 유효성 검사를 쉽게 구현할 수 있습니다.

The library currently includes the vText, vCheckbox, vURL, vEmail, vRadio, vColor, vRange, vDate component. You can use this component to easily implement validation for text input fields.

컴포넌트, Components

유효성 검사 규칙, Validation Rules

  • 지금은 사용자가 정규식 혹은 함수를 이용해 작성한 유효성검사 로직을 토대로 element에 출력하고 있습니다.

  • 상단에 예시를 확인하여 주시기 바랍니다.

  • Currently, validation messages are displayed based on validation logic written by the user using regular expressions or functions.

  • Please refer to the examples provided above.

개발중인 기능, Features in Development

  • 추가적인 유효성 검사 규칙 및 에러 메시지 처리 기능이 계획되어 있습니다.

  • react-validate-component를 소개하는 홈페이지가 제작 중입니다.

  • Additional validation rules and error message handling features are also in the pipeline.

  • A homepage introducing react-validate-component is under construction.

기여, Contributions

기여를 원하시는 분은 언제든지 pull request를 제출하거나 이슈를 제기해 주세요. 코드 기여 및 피드백을 환영합니다!

If you would like to contribute, please feel free to submit a pull request or open an issue at any time. We welcome code contributions and feedback!

라이센스, License

이 라이브러리는 MIT 라이센스 하에 배포됩니다.

This library is distributed under the MIT License.