# @kfonts/d2coding

[![@kfonts/d2coding on npmjs.com](https://img.shields.io/npm/v/%40kfonts%2Fd2coding)](https://www.npmjs.com/package/@kfonts/d2coding)

The CSS and web font files for using &OpenCurlyDoubleQuote;D2Coding&CloseCurlyDoubleQuote; font on your website without external resource.

## Quick Start

### Installation

```sh
# npm
npm install --save @kfonts/d2coding

# yarn
yarn add @kfonts/d2coding

# pnpm
pnpm install @kfonts/d2coding
```

### Embeding

```js
// ES6+ with import assertion
import '@kfonts/d2coding' assert { type: 'css' };

// ES6+
import '@kfonts/d2coding';

// CommonJS
require('@kfonts/d2coding');
```

### Styling

```css
body {
  font-family: 'D2Coding', monospace;
}
```

## Without self-host

If you can not use self-host method but want to this font, you can embed this from unpkg.

```html
<link rel="stylesheet" href="https://unpkg.com/@kfonts/d2coding/index.css" />
```

## Original font

Original font can download here: [naver/d2codingfont](https://github.com/naver/d2codingfont)

## Licence

OFL-1.1

You can check full license description here: [Open Font License](https://www.woowahan.com/fonts/license)
