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

@heptacode/military-letter

v0.3.1

Published

Unofficial library to send letters to ROK Armed Forces Training Center

Downloads

26

Readme

Military Letter

소개

Unofficial library to send letters to ROK Armed Forces Training Center

비공식 국군훈련소 인터넷 편지 라이브러리

알림

현재 지원되는 군종은 육군(더캠프), 공군입니다. 이 라이브러리를 사용함으로써 발생하는 문제에 대한 책임은 사용자에게 있습니다.

기술 스택

TypeScript Yarn Berry ESBuild Jest

사용하기

  • $ yarn add @heptacode/military-letter
  • examples 폴더의 예시들을 확인해주세요.
  • 별도의 설정 없이 뉴스 보내기 기능만 이용하려면 이 Repository를 Fork한 후 trainees.example.ts 파일을 참고하여 trainees.ts 파일을 examples 폴더에 생성해주세요.
  • 성명, 생년월일, 입대일자가 올바르지 않으면 정상적으로 전달되지 않습니다.

trainees.ts 설정하기

examples/trainees.example.ts를 참고해주세요.

| 키 | 타입 | 설명 | 기본값 | | --------- | ----------- | --------------------------------------- | -------------- | | name | string | 훈련병 성명 | 필수 입력 사항 | | type | TraineeType | 군종(육군/공군) | '육군' | | unit | TraineeUnit | 입영부대(육군만 입력) | '육군훈련소' | | birthDate | string | 생년월일 | 필수 입력 사항 | | enterDate | string | 입영일 | 필수 입력 사항 | | startDate | string | 시작일(입영일 이후로 자유롭게 지정) | 필수 입력 사항 | | endDate | string | 종료일(수료일과 관계없이 자유롭게 지정) | 필수 입력 사항 | | exclude | boolean | 대상 제외 여부 | false |

// examples/trainees.ts
import { Trainee, TraineeType } from '@heptacode/military-letter';

export const trainees: Trainee[] = [
  {
    name: '김육군',
    unit: TraineeUnit['55사단'], // '55사단'으로도 입력 가능 (기본: '육군훈련소')
    birthDate: '2000-01-01',
    enterDate: '2022-01-01',
    startDate: '2022-01-01',
    endDate: '2022-02-01',
    exclude: true,
  },
  {
    name: '김공군',
    type: TraineeType.AIR_FORCE, // 공군인 경우 (기본: '육군')
    birthDate: '2000-01-01',
    enterDate: '2022-01-01',
    startDate: '2022-01-01',
    endDate: '2022-02-01',
  },
];