Skip to content

PerryTS/perry-examples

Repository files navigation

Perry Examples

Runnable demo projects for Perry — the native TypeScript compiler.

Each subdirectory is a standalone project showing how to use a popular Node.js framework or library compiled with Perry.

Directory Stack
blockchain-demo Cryptography demo (@noble/curves, @noble/hashes)
express-postgres Express + PostgreSQL
fastify-redis-mysql Fastify + Redis + MySQL
hono-mongodb Hono + MongoDB
koa-redis Koa + Redis
nestjs-typeorm NestJS + TypeORM
nextjs-prisma Next.js + Prisma

Running an example

cd hono-mongodb
npm install
perry build src/index.ts -o server
./server

See the Perry docs for installation and usage.

Note on Dependabot alerts

These examples pin specific framework versions to keep the demos reproducible, so they may not always track the latest security advisories. Don't copy these package.json files into production without first running npm audit and bumping anything flagged. The demos exist to show how Perry compiles each framework — not to ship secure defaults.

License

MIT — see LICENSE.

About

Example projects demonstrating Perry — the native TypeScript compiler. Each subdirectory is a standalone runnable demo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors