# @types/josa

> TypeScript definitions for josa

Latest version **3.0.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/josa
pnpm add @types/josa
yarn add @types/josa
bun add @types/josa
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.5 |
| Published | 2023-11-07 |
| First published | 2018-01-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/josa
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/josa
- npm.io page: https://npm.io/package/@types/josa

## Recent versions

- 3.0.5 (latest) — 2023-11-07
- 3.0.2 (ts2.0) — 2018-10-02
- 3.0.4 — 2023-10-18
- 3.0.3 — 2023-09-15
- 3.0.1 — 2018-10-01
- 3.0.0 — 2018-01-24

## README

# Installation
> `npm install --save @types/josa`

# Summary
This package contains type definitions for josa (https://github.com/kimdhoe/josa).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/josa.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/josa/index.d.ts)
````ts
export type Topic = "은" | "는";
export type Subject = "이" | "가";
export type Objective = "을" | "를";
export type Conjunction = "와" | "과";
export type Means = "으로" | "로";
export type Josa = Topic | Subject | Objective | Conjunction | Means;

/** 조사 플레이스홀더(ex. #{은})가 포함된 문자열을 입력받아 완성된 문자열을 반환합니다. */
export function josa(sentence: string): string;

/** 명사에 맞는 조사를 찾아주는 함수를 반환합니다. 예를 들면, 임의의 명사에 대해 _을_과 를 중 하나를 선택하는 함수가 필요할 때 사용할 수 있습니다. */
export function getJosaPicker(josa: Topic): (noun: string) => Topic;
export function getJosaPicker(josa: Subject): (noun: string) => Subject;
export function getJosaPicker(josa: Objective): (noun: string) => Objective;
export function getJosaPicker(josa: Conjunction): (noun: string) => Conjunction;
export function getJosaPicker(josa: Means): (noun: string) => Means;

/** 명사에 조사를 붙이는 함수를 반환합니다. */
export function makeJosaify(josa: Josa): (noun: string) => string;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Vichyssoise](https://github.com/vichyssoise).

---
_Source: https://npm.io/package/@types/josa · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
