# @kang3q/typescript-lib-skeleton

> npm 라이브러리 제작 typescript 기본구조

Latest version **2.0.1** (published 2020-08-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @kang3q/typescript-lib-skeleton
pnpm add @kang3q/typescript-lib-skeleton
yarn add @kang3q/typescript-lib-skeleton
bun add @kang3q/typescript-lib-skeleton
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2020-08-28 |
| First published | 2020-08-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Sangkyu Kang |
| Maintainers | kang3q |
| Keywords | npm, library, typescript, test |

## Links

- npm: https://www.npmjs.com/package/@kang3q/typescript-lib-skeleton
- Repository: https://github.com/kang3q/typescript-lib-skeleton
- Issues: https://github.com/kang3q/typescript-lib-skeleton/issues
- npm.io page: https://npm.io/package/@kang3q/typescript-lib-skeleton

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2020-08-28
- 2.0.0 — 2020-08-28
- 1.1.0 — 2020-08-27
- 1.0.0 — 2020-08-24

## README

# NPM 패키지 게시

### 준비
npm 로그인이 안돼있다면 로그인을 시도한다.
```shell script
npm login
```

배포할 결과물을 빌드한다.
```shell script
npm run build
```

### 패키지 최초 게시
`--access public` 옵션 사용시 공개 패키지로 게시하게 된다.
```shell script
npm run deploy
```

### 패키지 판올림
package.json 버전정보를 올려준다.
```json
{
  "version": "1.0.1"
}
```
빌드 후 배포한다.
```shell script
npm run build
npm run deploy
```


---
---
---
---

# @kang3q/typescript-lib-skeleton

블라블라 위한 기능을 제공합니다.

### 설치 Installation

```shell script
npm install @kang3q/typescript-lib-skeleton
```

### 사용 Usage
Browser
```html
<script src="https://unpkg.com/@kang3q/typescript-lib-skeleton@2.0.0/dist/kang3q-typescript-lib-skeleton.min.js"></script>
<script>
  var utils = new kang3q.NumberUtils();
  console.info(utils.sum(1, 2)); // 3
</script>
```
ES6
```typescript
import { NumberUtils } from '@kang3q/typescript-lib-skeleton';
const utils = new NumberUtils();
console.info(utils.sum(1, 2)); // 3
```

### 테스트

```
$ npm run test
```

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