Rocky_Mountain_Vending/.pnpm-store/v10/files/1d/0db1bb40d08c1b7b3a2aa0407546ae1a8a004e0c4e54c2ddc545a3c89957c8d67a488cf3b47973195aaa522530196b9011f9ccbeec639bb6e7c668ff9b30cf
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

36 lines
715 B
Text

# text-decoder
Streaming text decoder that preserves multibyte Unicode characters.
```
npm i text-decoder
```
## Usage
``` js
const TextDecoder = require('text-decoder')
const td = new TextDecoder()
td.push(Buffer.of(0xf0, 0x9f, 0x92)) // returns ''
td.push(Buffer.of(0xa9)) // returns '💩'
```
## API
#### `const td = new TextDecoder([encoding])`
Create a text decoder. `encoding` defaults to `utf8`.
#### `const string = td.push(data)`
Push either a `Buffer` or a `string` to the text decoder. Returns the decoded string, buffering any partial data.
#### `const string = td.end([data])`
End the decoder, optionally pushing a final piece of data. Returns the decoded string.
## License
Apache-2.0