ngx-digit-only

(★ 159)

An Angular directive to only allow [0-9] in the input box when typing, pasting or drag/dropping.

  • .editorconfig
  • .gitignore
  • angular.json
  • cypress.config.ts
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • tsconfig.app.json
  • tsconfig.json

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/changhuixu/ngx-digit-only

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd ngx-digit-only

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Node.js

쉬움 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다. LTS(장기지원) 버전을 추천합니다.
npm i @uiowa/digit-only

이 명령어를 터미널에 그대로 입력해 실행하세요.

명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation