
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
🚀 Supercharge your web development workflow with pzr - the CLI based templates generator tool for Next.js, Express.js, and Vite React projects!
pzr simplifies the process of creating new pages, routes, and components, allowing developers to focus on writing business logic rather than boilerplate code.
Whether you're a seasoned developer or just starting out, pzr helps you focus on what matters most - writing great code and building amazing applications!
Install pzr globally using npm or yarn:
npm install -g pzr
# or
yarn global add pzr
💡 Tip: Global installation allows you to use
pzrfrom any directory on your system.
To initialize a new project or configure pzr for an existing project:
pzr init
This command will:
Create new pages, routes, or components using the create command or its shorthand -c:
pzr create [pages...]
# or
pzr -c [pages...]
Create multiple pages:
pzr create home about contact
# or
pzr -c home about contact
Generate files in a specific directory:
pzr create -d dashboard/settings profile
# or
pzr -c -d dashboard/settings profile
💡Tip: You can create multiple pages/routes at once by listing them after the
createcommand or-cflag.
If you prefer not to install pzr globally, use it on a per-project basis:
Install as a dev dependency:
npm install --save-dev pzr
# or
yarn add --dev pzr
Run pzr commands using npx:
npx pzr init
npx pzr -c home about
Alternatively, add scripts to your package.json:
{
"scripts": {
"pzr:init": "pzr init",
"pzr:create": "pzr -c"
}
}
Then use npm or yarn to run the commands:
npm run pzr:init
npm run pzr:create home about
# or with yarn
yarn pzr:init
yarn pzr:create home about
Use pzr without installation via npx:
npx pzr init
npx pzr -c home about
npx pzr -c -d dashboard/settings profile
⚠️ Note: Using npx without installation may result in slower execution times as it downloads the package each time.
pzr intelligently detects:
src directoryAfter detection, pzr will display the detected settings and prompt you to confirm or customize them, ensuring accuracy and flexibility.
pzr file generation based on the project type:
Next.js:
layout.tsx, page.tsx, and loader.tsx in created routes in /app or /src/app dir.tsx and jsx components.Express.js:
js or ts apps.app.use(routeMiddleware) in app.tsVite React:
.jsx or .tsx components in the /components directory🚀 Coming Soon: We're actively working on adding support for more project types!
pzr stores its configuration in a .pzr-config.json file in your project root. This file is created when you run pzr init and contains information about your project type, language preference, and other settings.
⚠️ Warning: It's recommended to use the
pzr initcommand to modify your configuration. Manual edits to.pzr-config.jsonmay lead to unexpected behavior.
For bug reports and feature requests, please open an issue on our GitHub repository.
🤝 Contribute: We welcome contributions! Feel free to submit pull requests to help improve pzr.
pzr is released under the MIT License. See the LICENSE file for more details.
FAQs
A CLI tool for generating Next.js, Express.js, and Vite React project structures
We found that pzr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.