---
title: "Li Yi (@yison) | Hashnode"
description: "Li Yi (@yison) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@yison"
---

@yison

# Li Yi

@yison · Joined October 2026

### [Word counting in JavaScript: why text.split(' ') fails on Chinese, contractions, and extra spaces](https://toolstack-blog.hashnode.dev/word-counting-in-javascript-why-text-split-fails-on-chinese-contractions-and-extra-spaces?utm_source=hashnode&utm_medium=feed)

Almost every "word counter" tool you find online does the same thing: split on spaces, count the pieces. That works for English — until it doesn't. Try it on a sentence with an apostrophe: "don't worr

4 min read · [toolstack-blog.hashnode.dev](https://toolstack-blog.hashnode.dev/word-counting-in-javascript-why-text-split-fails-on-chinese-contractions-and-extra-spaces?utm_source=hashnode&utm_medium=feed)

[Oct 22](https://hashnode.com/posts/word-counting-in-javascript-why-text-split-fails-on-chinese-contractions-and-extra-spaces/6ad9b60a22c2cd8daf51f88b)

### [Unit conversion without a library: length, weight, and temperature in JavaScript](https://toolstack-blog.hashnode.dev/unit-conversion-without-a-library-length-weight-and-temperature-in-javascript?utm_source=hashnode&utm_medium=feed)

Converting units seems trivial until you need to do it correctly. Multiply by a factor? That works for length — meters to feet, kilometers to miles — but temperature needs an offset, not just a multip

4 min read · [toolstack-blog.hashnode.dev](https://toolstack-blog.hashnode.dev/unit-conversion-without-a-library-length-weight-and-temperature-in-javascript?utm_source=hashnode&utm_medium=feed)

[Oct 12](https://hashnode.com/posts/unit-conversion-without-a-library-length-weight-and-temperature-in-javascript/6acca3773552bd377ca27e7e)

### [Color conversion in the browser: HEX, RGB, and HSL without a library](https://toolstack-blog.hashnode.dev/color-conversion-in-the-browser-hex-rgb-and-hsl-without-a-library?utm_source=hashnode&utm_medium=feed)

Picking a colour on screen is easy. Naming it, converting it, and using it consistently across CSS, design tools, and code is where things get fiddly. Every web developer has at some point needed to t

3 min read · [toolstack-blog.hashnode.dev](https://toolstack-blog.hashnode.dev/color-conversion-in-the-browser-hex-rgb-and-hsl-without-a-library?utm_source=hashnode&utm_medium=feed)

[Oct 12](https://hashnode.com/posts/color-conversion-in-the-browser-hex-rgb-and-hsl-without-a-library/6acc8d5ced3eae093e7ba611)

### [A free online toolbox that never uploads your files](https://toolstack-blog.hashnode.dev/a-free-online-toolbox-that-never-uploads-your-files?utm_source=hashnode&utm_medium=feed)

The short version I put together a site called ToolStack — 32 small everyday utilities in one place, all of which run entirely inside your browser. No account, no upload, no paywall. The interface is

4 min read · [toolstack-blog.hashnode.dev](https://toolstack-blog.hashnode.dev/a-free-online-toolbox-that-never-uploads-your-files?utm_source=hashnode&utm_medium=feed)

[Oct 10](https://hashnode.com/posts/a-free-online-toolbox-that-never-uploads-your-files/6aca10e92a5431db1b0fc41c)

### [Compress images in the browser — 20 lines, zero uploads](https://toolstack-blog.hashnode.dev/compress-images-in-the-browser-20-lines-zero-uploads?utm_source=hashnode&utm_medium=feed)

The boring problem Almost every "compress your image" site does the same thing: your file leaves the browser, gets uploaded to a bucket, is processed by something on the other end, and comes back as a

4 min read · [toolstack-blog.hashnode.dev](https://toolstack-blog.hashnode.dev/compress-images-in-the-browser-20-lines-zero-uploads?utm_source=hashnode&utm_medium=feed)

[Oct 10](https://hashnode.com/posts/compress-images-in-the-browser-20-lines-zero-uploads/6aca0a9da37dd536be6aa373)
