Skip to content

Instantly share code, notes, and snippets.

@bepyan
bepyan / crawler.js
Last active December 15, 2021 11:06
생명의 삶 QT 본문 크롤러 입니다.
import axios from "axios"
import cheerio from "cheerio"
import iconv from "iconv-lite";
const getDate = () => {
const date = new Date().toISOString().substring(0, 10)
const KO_DAY = ['일', '월', '화', '수', '목', '금', '토'];
return `${date} (${KO_DAY[new Date().getDay()]})`
}
@Rich-Harris
Rich-Harris / what-is-svelte.md
Last active March 27, 2024 06:09
The truth about Svelte

I've been deceiving you all. I had you believe that Svelte was a UI framework — unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.

But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.

Svelte is a language.

Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?

A few projects that have answered this question: