# iso-with-offset

> iso8601 with offset

Latest version **0.1.8** (published 2022-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install iso-with-offset
pnpm add iso-with-offset
yarn add iso-with-offset
bun add iso-with-offset
```

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2022-11-14 |
| First published | 2022-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | kim soohyeok |
| Maintainers | soohyeok |
| Keywords | date, korean, iso, format |

## Links

- npm: https://www.npmjs.com/package/iso-with-offset
- Repository: https://github.com/soohyeok8901/korean-extensions
- Homepage: https://github.com/soohyeok8901/korean-extensions#readme
- Issues: https://github.com/soohyeok8901/korean-extensions/issues
- npm.io page: https://npm.io/package/iso-with-offset

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.1.8 (latest) — 2022-11-14
- 0.1.7 — 2022-11-14
- 0.1.6 — 2022-11-14
- 0.1.5 — 2022-11-14
- 0.1.4 — 2022-11-14

## README

# iso-with-offset

Extension for Date

## Example
```ts
import "iso-with-offset";

const date = new Date("2022-11-11 15:30").toISOStringWithKorOffset();

console.log(date) // 2022-11-11T15:30:00.000+09:00 (UTC + seoul offset)

const date2 = new Date("2022-01-01T00:00:00+09:00").toISOStringWithKorOffset();

console.log(date2) // 2022-01-01T00:00:00.000+09:00 (UTC + seoul offset)

const date3 = new Date(date2);

console.log(date3) // 2021-12-31T15:00:00.000Z (UTC)

```

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