Skip to content
Proyek

cedmax/youmightnotneed

Lihat di GitHub

Tentang

🤯 A collection of `You might not need ${something}` resources

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

youmightnotneed.com

You might not need * is a collection of You might not need ${something} resources.

Currently working on Lodash and date-fns but any suggestion is more than welcome.

Please read how to contribute if you want to add any implementation.

Development

Use Node.js 24 LTS (nvm use) and pnpm 12.23.0 (npm install --global [email protected]).

pnpm install --frozen-lockfile
pnpm start                 # Astro development server on port 3000
pnpm test --runInBand       # Existing executable example tests, with linting
pnpm build                 # Static site in dist/
pnpm preview               # Serve the production build on port 3000
pnpm format:astro          # Format Astro components, layouts and pages

The website uses Astro with static output, Astro presentation components, CSS custom properties and small vanilla JavaScript enhancements. Shiki highlights examples at build time; no client framework or highlighter is shipped. Netlify publishes dist/ using the checked-in build configuration. CI runs linting, all example tests and the production build.

The four files under each src/content/{library}/{section}/{method}/ directory remain the single source for examples and tests. src/helpers/content.mjs reads and sorts the existing filesystem at build time, renders notes, and removes test exports from displayed code. No example code executes during the website build. modules/ retains the contribution CLI, contributor updates and CodeSandbox generation; the two CodeSandbox JSON reference files remain unchanged.

Contributors

Jelajahi proyek terkait

Memuat…