npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ajaxssd

v1.0.1

Published

Full Stack Web Development lab practicals, exercises, and interactive installation CLI

Readme

AJAX SSD Practicals (ajaxssd)

Full Stack Web Development (FSWD) laboratory practicals, templates, and interactive command-line installation tool for students.


Overview

This package contains full-stack web development practical exercises ranging from foundational HTML5/CSS3/Bootstrap to dynamic DOM manipulation, jQuery AJAX, React components, and full-stack Node.js + Express + MongoDB CRUD applications.

It includes an interactive zero-dependency CLI that allows students to inspect and copy individual practicals or the entire suite into their current working directory.


Practicals Catalog

| Practical ID | Source File / Folder | Technology Stack | Description | | :--- | :--- | :--- | :--- | | 1-3 (or 1, 2, 3) | prog123.html | HTML5, CSS3, Bootstrap 5 | MCU Website portal, CSS Box Model demonstration, and Bootstrap responsive registration form. | | 4-5 (or 4, 5) | prog45.html | Vanilla JS, DOM, FileReader API | Interactive student registration form with photo upload preview, profile card, and Show/Hide DOM controls. | | 6 | prog6.html | jQuery 3.7.1, AJAX, FakeStore API | Asynchronous product catalog loader using jQuery AJAX and dynamic cards. | | 7-8 (or 7, 8) | prog78.html | Vanilla JS, RegEx, Object Arrays | Form validation verifying mandatory fields, email, password, and 10-digit phone, plus dynamic student record card rendering. | | 9-10 (or 9, 10, mcu-app) | mcu-app/ | React 19, Vite | Full Single Page Application demonstrating modular React components and props for student records. | | 11-12 (or 11, 12, prog11-12) | prog11-12/ | Node.js, Express 5, MongoDB (MongoClient) | Full CRUD REST API with embedded web portal for student record management. |


Installation & Usage

1. Direct Execution via npx (No Install Required)

Students can run commands directly without installing anything permanently:

# List all available practicals
npx ajaxssd list

# Install a specific practical (e.g. Practical 6)
npx ajaxssd install 6

# Install multi-program files
npx ajaxssd install 1-3
npx ajaxssd install 4-5
npx ajaxssd install 7-8

# Install nested application projects
npx ajaxssd install mcu-app
npx ajaxssd install prog11-12

# Install ALL practicals at once
npx ajaxssd install all

Convenience Shortcut: You can omit the install keyword:

npx ajaxssd 6

2. Standard npm install (Project Dependency)

Install the package as a project dependency:

npm install ajaxssd

Important Note on npm install vs CLI Installation: Running npm install ajaxssd downloads the package into your project's node_modules/ folder. It does NOT copy the practical files directly into your workspace root.

To copy the actual practical files into your current working directory, run:

npx ajaxssd install <id>

(Or use npx fswd install <id>)


3. Global Installation

Install globally to make the commands available anywhere in your terminal:

npm install -g ajaxssd

# Now use directly:
ajaxssd list
ajaxssd install 6
ajaxssd install all

CLI Options

| Flag | Description | | :--- | :--- | | list, ls | Display the practical catalog and available aliases. | | install <id> | Extract and copy the specified practical into the destination directory. | | -d, --dry-run | Preview which files would be created without writing any files to disk. | | -f, --force | Overwrite existing files without confirmation prompts. | | --dest <path> | Target directory to install into (defaults to current working directory). | | -h, --help | Display usage and help manual. | | -v, --version | Output package version. |

CLI Safety Features

  • Overwrite Protection: If a destination file already exists, the CLI asks for confirmation before overwriting. If run non-interactively without --force, existing files are safely skipped.
  • Path Traversal Guard: Destination paths are validated to prevent writing outside the intended target folder.
  • Clean Copies: When copying nested applications (mcu-app and prog11-12), local node_modules and cache artifacts are automatically excluded.

Running the Practicals

HTML/JS Practicals (1 through 8)

  • Open prog123.html, prog45.html, prog6.html, or prog78.html directly in any web browser, or serve using VS Code Live Server.

Practical 9 & 10 (React + Vite)

cd mcu-app
npm install
npm run dev

Open http://localhost:5173 in your browser.

Practical 11 & 12 (Express + MongoDB)

Ensure a MongoDB instance is running locally on port 27017:

cd prog11-12
npm install
node server.js

Open http://localhost:3000 to interact with the API and student dashboard.


License

MIT © Sanjay R