Curly Quotes with QuoteQuote

I'm pleased to announce the first stable release of QuoteQuote—a library that converts boring, straight quotes to beautiful, typographically correct curly quotes, also known as smart quotes. QuoteQuote is available on GitHub and npm. Download it using your favorite package manager, such as npm, pnpm, or yarn. npm install quote-quote I've also launched a website where you can convert text online. Lightweight and modern The library is lightweight, modern, tree-shakeable, and supports both ESM and CJS. At the time of writing, it only exports convert(), which does the most important thing: convert straight quotes to curly quotes. I have plans for additional features, such as support for Markdown and the DOM. Development for these features will begin soon and will be added to the library in accordance with SemVer (Semantic Versioning). Why QuoteQuote is necessary There are similar libraries out there, but they all have different issues. Some haven't been updated in years and have open bugs that are fixable. Others don't support ESM or CJS, lack TypeScript support, or are simply outdated. Issues and pull requests are mostly met with silence. Also, using curly quotes manually is just too difficult. Keyboards typically offer straight quotes, and only allow curly quotes if you happen to know the right key combinations (for example, Alt + 0147 on Windows and Option + [ on macOS for just one specific quotation mark). Why curly quotes "Curly quotes are the quotation marks used in good typography." says Matthew Butterick in Practical Typography—and I must say, I agree. Curly quotes are more legible and flow better with the content. They are a must for blog posts, articles, and professional writing in general. Give QuoteQuote a try and let me know what you think! I welcome all feedback, as well as issues and pull requests on GitHub. And if you'd like to support the library, feel free to star the repository.

Apr 17, 2025 - 16:31
 0
Curly Quotes with QuoteQuote

I'm pleased to announce the first stable release of QuoteQuote—a library that converts boring, straight quotes to beautiful, typographically correct curly quotes, also known as smart quotes.

QuoteQuote is available on GitHub and npm. Download it using your favorite package manager, such as npm, pnpm, or yarn.

npm install quote-quote

I've also launched a website where you can convert text online.

Lightweight and modern

The library is lightweight, modern, tree-shakeable, and supports both ESM and CJS. At the time of writing, it only exports convert(), which does the most important thing: convert straight quotes to curly quotes.

I have plans for additional features, such as support for Markdown and the DOM. Development for these features will begin soon and will be added to the library in accordance with SemVer (Semantic Versioning).

Why QuoteQuote is necessary

There are similar libraries out there, but they all have different issues. Some haven't been updated in years and have open bugs that are fixable. Others don't support ESM or CJS, lack TypeScript support, or are simply outdated. Issues and pull requests are mostly met with silence.

Also, using curly quotes manually is just too difficult. Keyboards typically offer straight quotes, and only allow curly quotes if you happen to know the right key combinations (for example, Alt + 0147 on Windows and Option + [ on macOS for just one specific quotation mark).

Why curly quotes

"Curly quotes are the quotation marks used in good typography." says Matthew Butterick in Practical Typography—and I must say, I agree. Curly quotes are more legible and flow better with the content. They are a must for blog posts, articles, and professional writing in general.

Give QuoteQuote a try and let me know what you think! I welcome all feedback, as well as issues and pull requests on GitHub. And if you'd like to support the library, feel free to star the repository.