feat: scaffold Astro + Tailwind project

This commit is contained in:
TerryM
2026-05-12 16:16:03 +08:00
parent 906eb5c763
commit 03d3800c6c
12097 changed files with 1266600 additions and 0 deletions

42
node_modules/fast-string-width/readme.md generated vendored Normal file
View File

@@ -0,0 +1,42 @@
# Fast String Width
A fast function for calculating the visual width of a string once printed to the terminal.
See [`fast-string-truncated-width`](https://github.com/fabiospampinato/fast-string-truncated-width) for a lower-level version of this.
## Install
```sh
npm install fast-string-width
```
## Usage
```ts
import fastStringWidth from 'fast-string-width';
// The width of various classes of characters is configurable
const options = {
controlWidth: 0,
tabWidth: 8,
emojiWidth: 2,
regularWidth: 1,
wideWidth: 2
};
// Calculating the visual width of some strings
fastStringWidth ( 'hello', options ); // => 5
fastStringWidth ( '\x1b[31mhello', options ); // => 5
fastStringWidth ( '👨‍👩‍👧‍👦', options ); // => 2
fastStringWidth ( 'hello👨👩👧👦', options ); // => 7
// Calculating the visual width while tweaking the width of emojis
fastStringWidth ( '👶👶🏽', { ...options, emojiWidth: 1.5 } ); // => 3
```
## License
MIT © Fabio Spampinato