Skip to content

skullxcode/devdocx

Β 
Β 

πŸ“˜ DevdocX

npm version License: MIT Hacktoberfest PRs Welcome Contributors

Complete offline documentation for JavaScript, Node.js, Express, Prisma, and Auth β€” all in one NPM package!

devdocx is an NPM package that installs comprehensive, example-rich documentation for backend development. Perfect for quick reference before exams, interviews, or while coding offline.

πŸŽƒ Hacktoberfest 2025

We're participating in Hacktoberfest 2025! πŸŽ‰

This is a great opportunity to contribute to open source and help improve documentation for developers worldwide. Whether you're fixing a typo or adding comprehensive new topics, all contributions are welcome!

How to Contribute

  1. Check out our Contributing Guidelines
  2. Look for issues labeled hacktoberfest, good first issue, or help wanted
  3. Fork the repo, make your changes, and submit a PR
  4. Get your PR reviewed and merged!

New to open source? No worries! Check out our Good First Issues.

πŸš€ Installation

npm install devdocx

πŸ“– Usage

Option 1: Browse Files Directly

After installation, navigate to the docs folder:

cd node_modules/devdocx/docs

All documentation is organized in markdown files:

docs/
β”œβ”€β”€ javascript/      # JS fundamentals
β”œβ”€β”€ node/            # Node.js core modules
β”œβ”€β”€ express/         # Express framework
β”œβ”€β”€ prisma/          # Prisma ORM
β”œβ”€β”€ auth/            # Authentication
β”œβ”€β”€ interview/       # Interview questions
└── cheatsheets/     # Quick references

Option 2: CLI Tool

Read documentation directly in your terminal:

npx devdocx javascript/arrays
npx devdocx express/middleware
npx devdocx prisma/crud
npx devdocx auth/jwt
npx devdocx cheatsheets/javascript

πŸ“š What's Included

JavaScript

  • Core Concepts: Arrays, Objects, Functions, Promises, Async/Await
  • Advanced: Closures, Prototypes, Classes
  • Methods: Array Methods, Object Methods, String Methods

Node.js

  • Modules: Server, FS, Path, Events, OS, Streams
  • Examples: HTTP servers, file operations, event handling

Express

  • Basics: Setup, Routing, Middleware
  • Advanced: Error Handling, Cookie Parser, Auth Flow, File Uploads
  • Best Practices: Security, validation, async handling

Prisma

  • Setup: Installation, schema, migrations
  • Operations: CRUD, Filters, Relations, Transactions
  • Advanced: Pagination, complex queries

Authentication

  • Methods: JWT, Session, Bcrypt
  • Security: Cookies, Token Verification, Best Practices
  • Examples: Complete auth flows

Interview Prep

  • JavaScript Questions
  • Backend Questions
  • Express Questions
  • Prisma Questions
  • Auth Questions

Cheatsheets

  • JavaScript Quick Reference
  • Node.js Quick Reference
  • Express Quick Reference
  • Prisma Quick Reference
  • Auth Quick Reference

🎯 Perfect For

  • πŸ“ Exam Preparation: Quick revision before tests
  • πŸ’Ό Interview Prep: Common questions and answers
  • πŸš€ Project Reference: Copy-paste ready examples
  • πŸ“š Learning: Structured, example-rich content
  • ✈️ Offline Access: No internet required

🌟 Features

  • βœ… Comprehensive: Covers all essential topics
  • βœ… Example-Rich: Real-world code examples
  • βœ… Offline: Works without internet
  • βœ… Well-Organized: Easy to navigate
  • βœ… CLI Access: Read docs in terminal
  • βœ… Copy-Paste Ready: Production-ready code
  • βœ… Interview Questions: Common Q&A included
  • βœ… Cheatsheets: Quick reference guides

πŸ“‚ Documentation Structure

devdocx/
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ javascript/
β”‚   β”‚   β”œβ”€β”€ arrays.md
β”‚   β”‚   β”œβ”€β”€ objects.md
β”‚   β”‚   β”œβ”€β”€ functions.md
β”‚   β”‚   β”œβ”€β”€ promises.md
β”‚   β”‚   β”œβ”€β”€ async-await.md
β”‚   β”‚   β”œβ”€β”€ closures.md
β”‚   β”‚   β”œβ”€β”€ prototypes.md
β”‚   β”‚   β”œβ”€β”€ classes.md
β”‚   β”‚   β”œβ”€β”€ array-methods.md
β”‚   β”‚   β”œβ”€β”€ object-methods.md
β”‚   β”‚   └── string-methods.md
β”‚   β”‚
β”‚   β”œβ”€β”€ node/
β”‚   β”‚   β”œβ”€β”€ server.md
β”‚   β”‚   β”œβ”€β”€ fs-module.md
β”‚   β”‚   β”œβ”€β”€ path-module.md
β”‚   β”‚   β”œβ”€β”€ events.md
β”‚   β”‚   β”œβ”€β”€ os-module.md
β”‚   β”‚   └── streams.md
β”‚   β”‚
β”‚   β”œβ”€β”€ express/
β”‚   β”‚   β”œβ”€β”€ setup.md
β”‚   β”‚   β”œβ”€β”€ routing.md
β”‚   β”‚   β”œβ”€β”€ middleware.md
β”‚   β”‚   β”œβ”€β”€ error-handling.md
β”‚   β”‚   β”œβ”€β”€ cookie-parser.md
β”‚   β”‚   β”œβ”€β”€ auth-flow.md
β”‚   β”‚   └── file-uploads.md
β”‚   β”‚
β”‚   β”œβ”€β”€ prisma/
β”‚   β”‚   β”œβ”€β”€ setup.md
β”‚   β”‚   β”œβ”€β”€ schema.md
β”‚   β”‚   β”œβ”€β”€ crud.md
β”‚   β”‚   β”œβ”€β”€ filters.md
β”‚   β”‚   β”œβ”€β”€ relations.md
β”‚   β”‚   β”œβ”€β”€ transactions.md
β”‚   β”‚   └── pagination.md
β”‚   β”‚
β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”œβ”€β”€ jwt.md
β”‚   β”‚   β”œβ”€β”€ session.md
β”‚   β”‚   β”œβ”€β”€ bcrypt.md
β”‚   β”‚   β”œβ”€β”€ cookies.md
β”‚   β”‚   β”œβ”€β”€ token-verification.md
β”‚   β”‚   └── best-practices.md
β”‚   β”‚
β”‚   β”œβ”€β”€ interview/
β”‚   β”‚   β”œβ”€β”€ javascript-questions.md
β”‚   β”‚   β”œβ”€β”€ backend-questions.md
β”‚   β”‚   β”œβ”€β”€ express-questions.md
β”‚   β”‚   β”œβ”€β”€ prisma-questions.md
β”‚   β”‚   └── auth-questions.md
β”‚   β”‚
β”‚   └── cheatsheets/
β”‚       β”œβ”€β”€ javascript.md
β”‚       β”œβ”€β”€ node.md
β”‚       β”œβ”€β”€ express.md
β”‚       β”œβ”€β”€ prisma.md
β”‚       └── auth.md
β”‚
β”œβ”€β”€ cli/
β”‚   └── index.js
β”œβ”€β”€ package.json
└── README.md

πŸ’‘ Examples

Quick Reference

# View JavaScript array methods
npx devdocx javascript/array-methods

# Learn Express middleware
npx devdocx express/middleware

# File uploads and sending files
npx devdocx express/file-uploads

# Prisma CRUD operations
npx devdocx prisma/crud

# JWT authentication
npx devdocx auth/jwt

Browse in VS Code

code node_modules/devdocx/docs

Open Specific File

# macOS
open node_modules/devdocx/docs/javascript/arrays.md

# Linux
xdg-open node_modules/devdocx/docs/javascript/arrays.md

# Windows
start node_modules/devdocx/docs/javascript/arrays.md

🀝 Contributing

We love contributions! Devdevdocx is a community-driven project and we welcome contributions of all kinds.

Ways to Contribute

  • πŸ“ Add new documentation - Create docs for new technologies (TypeScript, React, MongoDB, etc.)
  • ✏️ Improve existing docs - Fix typos, add examples, clarify explanations
  • πŸ› Report bugs - Help us identify and fix issues
  • πŸ’‘ Suggest features - Share ideas for new features or improvements
  • ❓ Add interview questions - Share common interview questions and answers
  • πŸ“„ Create cheatsheets - Quick reference guides for any technology

Getting Started

  1. Read the Contributing Guidelines
  2. Check out Good First Issues
  3. Fork the repository
  4. Make your changes
  5. Submit a Pull Request

Contribution Ideas

  • Add TypeScript documentation
  • Create Next.js guides
  • Add MongoDB/PostgreSQL docs
  • Improve code examples with more comments
  • Add diagrams and visualizations
  • Create video tutorials
  • Translate documentation

Check our open issues or create a new one!

πŸ“ License

MIT Β© Harsh Hirawat aka Green Hacker

πŸ™ Acknowledgments

Created with ❀️ for developers who want quick, offline access to quality documentation.


Happy Coding! πŸš€

For questions or suggestions, please open an issue on GitHub.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%