New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

create-nodex

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-nodex

CLI tool to create modern Node.js projects with TypeScript, AI capabilities, and more

latest
Source
npmnpm
Version
1.2.5
Version published
Maintainers
1
Created
Source
create-nodex banner

npm version License: MIT PRs Welcome

✨ Features

  • 🎯 TypeScript/JavaScript Support - Choose your preferred language
  • 🔄 Hot Reload Development - Instant feedback during development
  • 🧪 Jest Testing Integration - Ready-to-use testing setup
  • 📦 Modern ES Modules - Latest JavaScript features
  • 🏗️ Clean Project Structure - Well-organized codebase
  • 🤖 AI Capabilities - Built-in support for Langchain and RAG systems
    • Multiple LLM providers (OpenAI, Anthropic, Groq, etc.)
    • Vector store integration (Pinecone, MongoDB, FAISS, etc.)
    • Embedding model support
    • RAG (Retrieval Augmented Generation) setup
  • 🚀 Express Integration - Add Express with a single command

📦 Installation

Install globally:

npm install -g create-nodex

Or use directly with npx:

npx create-nodex

🚀 Usage

Creating a New Project

create-nodex [project-name]

Interactive Mode

If [project-name] is omitted, you'll be guided through an interactive setup:

  • Project name
  • TypeScript or JavaScript
  • Hot reloading
  • Testing setup

Quick Start

With project name, creates a project with default settings:

  • TypeScript
  • Hot Reload
  • Testing

Adding Features

Navigate to your project directory:

cd my-project

Add Express

create-nodex add express

This will:

  • Add express dependency
  • Create a basic src/server.ts (or src/server.js)
  • Add development and production scripts
  • Install required dependencies

Add AI Capabilities

create-nodex add ai

This will:

  • Add Langchain integration
  • Set up your chosen LLM provider
  • Configure necessary dependencies
  • Create example files

Add RAG System

create-nodex add ai-rag

This will:

  • Set up a complete RAG system
  • Configure your chosen:
    • Chat model
    • Embedding model
    • Vector store
  • Create example implementation

🏗️ Project Structure

my-project/
├── src/
│   ├── index.ts (or index.js)
│   ├── server.ts (if Express added)
│   └── ai/
│       ├── common/
│       │   └── ai-setup.ts
│       ├── [model-provider]/
│       │   └── [model]-example.ts
│       └── rag/
│           └── rag-example.ts
├── package.json
├── nodemon.json (if hot-reload enabled)
├── tsconfig.json (for TypeScript projects)
├── .gitignore
└── README.md

🔧 Development

# Start development server
npm run dev:server

# Run tests
npm test

# Build for production
npm run build

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add some amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Keywords

cli

FAQs

Package last updated on 07 May 2025

Did you know?

Socket

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.

Install

Related posts