JavaScript

Modern JavaScript, written as TypeScript

frascati writes your site in TypeScript, which is JavaScript with types, using React 19. The preview compiles it in your browser while it is being written.

Why JavaScript

  • JavaScript is the programming language every web browser runs
  • React, React Router and the other libraries frascati uses are written for JavaScript
  • TypeScript adds types on top and compiles to plain JavaScript
  • The same language runs in browsers and, with Node.js, on servers

How frascati uses it

frascati writes the code in TypeScript and JSX, the syntax React uses for markup. The preview compiles it to JavaScript in your browser, so the site appears while frascati writes it. The code can use React Router, Motion (framer-motion), Lucide icons, Recharts, Chart.js, zustand, date-fns, dayjs, axios, lodash, clsx, classnames, uuid, marked and DOMPurify. Nothing else can be imported inside frascati.

Questions

Does frascati write JavaScript or TypeScript?
TypeScript, which is JavaScript with types. The preview compiles it to JavaScript in your browser.
Which JavaScript libraries can a frascati site use?
React Router, Motion (framer-motion), Lucide icons, Recharts, Chart.js, zustand, date-fns, dayjs, axios, lodash, clsx, classnames, uuid, marked and DOMPurify. Nothing else can be imported inside frascati.
Can I read the code without being a developer?
Much of it. The texts, links and photo descriptions are plain words inside the code. The Code view shows every file, and you can edit it directly.

Your website, about two minutes from now

3 days free with a card, then from $12 a month. The plan starts automatically unless you cancel.

Start free trial