
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@volt.js/modules
Advanced tools
CLI for creating React feature modules with support for Next.js, Vite, and TanStack Router frameworks
A powerful CLI tool for generating Next.js App Router feature modules with TanStack Query, React Hook Form, and TypeScript.
features/{module}/ structure# Install globally
npm install -g @volt.js/modules
# Or use with npx (no installation needed)
npx @volt.js/modules init
volt-modules init
The CLI will prompt you for:
$ volt-modules init
? Which framework are you using?
1) Next.js (App Router)
2) Vite + React Router
3) TanStack Router
? Enter your choice (1-3): 1
? Do you want to include custom hooks? (y/N): y
? Enter module name: user-management
ℹ Detected src/ architecture
✓ Created: src/hooks/use-form.tsx
✓ Created: src/services/user-preferences.ts
✓ Created: src/constants/storage-keys.ts
✓ Created: app/user-management/page.tsx
✓ Created: app/user-management/layout.tsx
✓ Created: src/features/user-management/_schemas/UserManagementSchema.ts
✓ Created: src/features/user-management/_api/queries/user-management.queries.ts
✓ Created: src/features/user-management/_api/mutations/user-management.mutations.ts
✓ Created: src/features/user-management/_components/UserManagementTable.tsx
✓ Created: src/features/user-management/_components/UserManagementForm.tsx
✓ Module "user-management" created successfully in src/features/user-management
src/ (or app/)
├── hooks/
│ ├── use-form.tsx
│ ├── use-page.tsx
│ └── use-user-preferences.ts
├── services/
│ └── user-preferences.ts
├── constants/
│ └── storage-keys.ts
└── features/
└── user-management/
├── _schemas/
│ └── UserManagementSchema.ts
├── _api/
│ ├── queries/
│ │ └── user-management.queries.ts
│ └── mutations/
│ └── user-management.mutations.ts
├── _components/
│ ├── UserManagementTable.tsx
│ └── UserManagementForm.tsx
├── page.tsx
└── layout.tsx
src/ (or app/)
└── features/
└── user-management/
├── _schemas/
│ └── UserManagementSchema.ts
├── _api/
│ ├── queries/
│ │ └── user-management.queries.ts
│ └── mutations/
│ └── user-management.mutations.ts
├── _components/
│ ├── UserManagementTable.tsx
│ └── UserManagementForm.tsx
├── page.tsx
└── layout.tsx
After generating a module:
// In your route file
import "./features/user-management/user-management"
http://localhost:3000/user-management
_schemas/_api/_components/| Option | Description | Default |
|---|---|---|
-p, --path <path> | Output directory | '.' |
-d, --dry-run | Show files without creating | false |
# Create in specific directory
volt-modules init --path ./src
# Preview what would be created
volt-modules init --dry-run
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT © Your Name
FAQs
CLI for creating React feature modules with support for Next.js, Vite, and TanStack Router frameworks
We found that @volt.js/modules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.