Giter Site home page Giter Site logo

fe1-holiday's Introduction

FE1 Holiday

커맨드 라인에서 각 국가의 공휴일을 확인할 수 있는 Node.js 애플리케이션

사용법

node holiday.js 국가코드 연도_또는_next
  • 국가코드연도는 반드시 전달되어야 합니다.
  • 충분한 인수가 전달되지 않으면 에러 메시지 또는 도움말이 출력되어야 합니다.
  • 올바르지 않은 국가코드가 전달되면 Wrong country code 에러 메시지를 출력합니다.

특정년도의 휴일 조회

# 예시
node holiday.js KR 2024

# 결과
2024-01-01 New Year's Day 새해
2024-02-09 Lunar New Year 설날
...
2024-12-25 Christmas Day 크리스마스

오늘 이후 예정된 휴일 조회

# 예시
node holiday.js KR next

# 결과
2024-10-09 Hangul Day 한글날
2024-12-25 Christmas Day 크리스마스
...

API

https://date.nager.at/Api 에서 제공하는 API 사용

작업 시 주의 사항

  • 개인 이름으로 메인 브랜치를 포크해서 작업을 시작합니다. 예) seojihun
  • Node.js 프로젝트를 신규로 설정하고, 개인별로 PR을 공개적으로 먼저 작성한 후에 작업을 시작합니다. 이때 PR은 Draft 상태로 설정해두세요.
  • 가능하면 기능 단위로 완성할 때마다 커밋합니다.
  • 내장된 Node.js 기능 외의 외부 라이브러리는 사용하지 않습니다.
  • 시간 여유가 있다면 단위 테스트를 작성해도 좋습니다.
  • 프로젝트를 완료했다면 Draft 상태를 해제하고 리더에게 알려주세요

fe1-holiday's People

Contributors

taggon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.