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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ai-website-creator

v1.0.10

Published

A package to create and manage website components

Readme

ai-website-creator

A Node.js package that helps you create React website components with predefined templates and design guidelines.

Features

  • Creates a src/components directory in your project
  • Generates React components:
    • Header.js: Responsive navigation header
    • Hero.js: Main hero section
  • Generates design guidelines and instruction files:
    • styles.md: Design guidelines based on your selected style
    • HeaderInstructions.md: Header layout templates based on your selected header style
    • HeroInstructions.md: Hero section layout templates based on your selected hero style
    • buildInstructions.md: Step-by-step build process and asset guidelines

Usage

You can run this package directly using npx:

# Run with interactive style selection (all options default to Option 1)
npx ai-website-creator

# Or specify styles directly
npx ai-website-creator --style="Option 2" --header="Option 3" --hero="Option 4"

Style Options

The package includes 5 predefined style options for the overall design:

  • Option 1 (default): Bold and vibrant design for tech startups and e-commerce
  • Option 2: Professional and trustworthy design for service businesses
  • Option 3: Creative and dynamic design for agencies and educational platforms
  • Option 4: Eco-friendly and scientific design for environmental organizations
  • Option 5: Serene and luxurious design for hospitality businesses

Header Style Options

Five header layout options available:

  • Option 1 (default): Left-Aligned Logo with Right-Aligned Navigation
  • Option 2: Centered Logo with Split Navigation
  • Option 3: Full-Width Header with Integrated Search
  • Option 4: Sticky Header with Scroll Effects
  • Option 5: Overlay Header with Transparent Background

Hero Style Options

Five hero section options available:

  • Option 1 (default): Minimalist Lead Capture Hero
  • Option 2: Product Showcase Hero
  • Option 3: Video-Centric Hero
  • Option 4: Image-Centric Hero with Overlay Text
  • Option 5: Interactive Hero with Scroll Animations

Each style includes detailed guidelines for implementation and best use cases.

Using in your code

If you want to use it programmatically, first install it locally:

npm install ai-website-creator

Then use it in your code:

const aiWebsiteCreator = require('ai-website-creator');

// Initialize with default styles
aiWebsiteCreator.initialize();

// Or initialize with specific styles
aiWebsiteCreator.initialize('Option 2', 'Option 3', 'Option 4');

Using npm scripts

If you've installed it locally, you can add it to your package.json scripts:

{
  "scripts": {
    "create-components": "ai-website-creator",
    "create-components:custom": "ai-website-creator --style=\"Option 2\" --header=\"Option 3\" --hero=\"Option 4\""
  }
}

Then run:

# Use default styles (Option 1 for all)
npm run create-components

# Use custom styles
npm run create-components:custom

Generated Files

The package will create a src/components directory in your project with the following files:

src/
└── components/
    ├── Header.js             # Responsive navigation header component
    ├── Hero.js              # Main hero section component
    ├── styles.md            # Design guidelines for your selected style
    ├── HeaderInstructions.md # Header layout templates based on selection
    ├── HeroInstructions.md   # Hero section layout templates based on selection
    └── buildInstructions.md  # Build process and asset guidelines

Each instruction file includes:

  • Detailed layout specifications
  • Best practices for implementation
  • Mobile responsiveness guidelines
  • Best use cases for the selected style

License

MIT