Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deptno committed Mar 19, 2017
1 parent 24d2a54 commit 086642a
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,55 @@
# currency-won
[![Build Status](https://travis-ci.org/deptno/currency-kr.svg?branch=master)](https://travis-ci.org/deptno/currency-kr)

ν•œκ΅­ 톡화

## Install

```bash
npm install currency-kr
```

## API

```typescript
function 원(amount: number): string;
function 십원(amount: number): string;
function 백원(amount: number): string;
function μ²œμ›(amount: number): string;
function λ§Œμ›(amount: number): string;
function μ‹­λ§Œμ›(amount: number): string;
function λ°±λ§Œμ›(amount: number): string;
function μ²œλ§Œμ›(amount: number): string;
function 얡원(amount: number): string;
function 십얡원(amount: number): string;
function 백얡원(amount: number): string;
function μ²œμ–΅μ›(amount: number): string;
function 쑰원(amount: number): string;
function μ‹­μ‘°(amount: number): string;
function 백쑰원(amount: number): string;
function μ²œμ‘°μ›(amount: number): string;
function w(amount: number): string;
function w10(amount: number): string;
function w100(amount: number): string;
function w1000(amount: number): string;
function m(amount: number): string;
function m10(amount: number): string;
function m100(anumber): string;
function m1000(amount: number): string;
function b(amount: number): string;
function b10(amount: number): string;
```

## Usage

```typescript
import {λ°±λ§Œμ›} from 'currency-kr';

console.log(λ§Œμ›(10000, 2)); // "1.00"
console.log(λ§Œμ›(1000000)); // "100"
console.log(λ§Œμ›(10000000)); // "1,000"
```

## License

MIT

0 comments on commit 086642a

Please sign in to comment.