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

portfolio-xs

v3.3.3

Published

This is a tool to generate portfolio based with your markdown file

Readme

🧰 Portfolio Generator

Generate a beautiful and customizable portfolio site from Markdown files — fast, flexible, and fully static.

📦 Installation

Download this package:

npm install portfolio-xs -g

✨ Features

  • Write each project in its own folder using simple Markdown
  • Auto-generate a stylish React-based portfolio site
  • Live preview locally
  • One-click deploy to GitHub Pages or any static host

🚀 Usage Guide

1. Initialize a New Project

Create a new project folder under doc/ with starter content:

portfolio init

This creates:

my-project/
|── about.md      # editable content
└── doc

2. Add your project

Add your new project under the doc fold:

portfolio add 'The name of your project'

3. Customize the Markdown

Open my-project/doc and update the frontmatter and content:

---
title: My Project
description: A short summary here
category: Web
createDate: 2024-06-10
updateDate: 2024-06-12
---

4. Add an About Section

To customize the "About" section in the sidebar, create a about.md file in the lib/ folder:

lib/about.md

Write your personal introduction in plain Markdown:

# 👋 Hello!

I'm Bowen, a developer passionate about building beautiful and functional software.

- 🔭 I’m currently working on ski video AI analysis
- 🌱 I’m exploring advanced motion estimation and pose modeling
- 📫 Reach me at: [email protected]

This file will be converted into a React component and automatically injected into the sidebar of the layout.

✅ You can even use raw HTML or / tags in about.md for redirect or custom logic if needed.

5. Update Global Settings

Edit lib/setting.json to update:

  • Website title
  • Favicon
  • Other metadata
{
  "title": "Bowen's Portfolio",
  "favicon": "./lib/assets/favicon.png",
  "description": "A personal site showcasing my projects and skills"

}

6. Generate the Site

Compile the markdown content and metadata into a static site:

portfolio generate

7. Preview Locally

Launch a local dev server to view and test:

portfolio preview

Visit: http://localhost:3000

8. Build for Deployment

Compile final static assets using Webpack:

portfolio build

9. Deploy to GitHub Pages

You can push the contents of the dist/ folder to your GitHub Pages repository:

cp -r dist/* ../taobowen.github.io/
cd ../taobowen.github.io/
git add .
git commit -m "Deploy portfolio"
git push origin main

🧪 Available Commands

| Command | Description | |--------------------|---------------------------------------------| | portfolio init | Create a new markdown project | | portfolio add 'The name of your project' | Add your new project under the doc fold | | portfolio generate | Convert markdown into React components and Build static files for deployment | | portfolio preview | Start local development server | | portfolio build | Compile final static assets using Webpack |

👨‍💻 Author

梁家河的扛麦郎
GitHub: @taobowen

📄 License

ISC © 2025 Bowen Tao