The CSS and web font files for using “D2Coding ligature” font on your website without external resource.
# npm
npm install --save @kfonts/d2coding-ligature
# yarn
yarn add @kfonts/d2coding-ligature
# pnpm
pnpm install @kfonts/d2coding-ligature
// ES6+ with import assertion
import '@kfonts/d2coding-ligature' assert { type: 'css' };
// ES6+
import '@kfonts/d2coding-ligature';
// CommonJS
require('@kfonts/d2coding-ligature');
body {
font-family: 'D2Coding ligature', monospace;
}
If you can not use self-host method but want to this font, you can embed this from unpkg.
<link rel="stylesheet" href="https://unpkg.com/@kfonts/d2coding-ligature/index.css" />
Original font can download here: naver/d2codingfont
OFL-1.1
You can check full license description here: Open Font License