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

strapi-plugin-bag

v1.0.1

Published

一站式 Strapi 5 综合增强解决方案。深度集成安全加固(IP限制、RSA/AES加密、验证码)、内容生态(文章、分类、标签、单页)与运营中枢(多级导航、幻灯片、留言板)。

Readme

Strapi Plugin Bag (Bag Solution)


🛠️ 环境要求

  • Node.js: v22.10.0 或更高版本
  • Strapi: v5.0.0 或更高版本
  • 包管理器: pnpm (推荐), npmyarn

✨ 核心特性

  • 🛡️ 安全防御矩阵:内置 IP 黑白名单过滤,支持动态在线配置。
  • 🔐 隐私数据套件:集成标准 RSA 2048 与 AES 256 加密服务,保障前后端敏感数据传输安全。
  • 🔑 认证系统增强:支持图形验证码、Refresh Token 机制,提供更安全的账号体系。
  • 📰 专业内容引擎:全功能的文章、分类、标签管理,内置 SEO 字段及阅读量自动统计。
  • 🗺️ 可视化运营
    • 菜单管理:支持多级嵌套、图标配置及 Hot 热点标识。
    • 组件化管理:幻灯片(Banner)、友情链接、单页系统(Page)开箱即用。
  • 💬 互动交互系统:多级评论审核流、独立留言板系统。
  • 🚀 极速交付:全中文适配,深度融合 Strapi 5 Design System v2,提供极致的操作体验。

📦 安装

在您的 Strapi 项目根目录下运行:

# 使用 npm
npm install strapi-plugin-bag

# 使用 yarn
yarn add strapi-plugin-bag

然后重新构建项目:

npm run build
npm run dev

⚙️ 配置

安装完成后,您可以在 Strapi 管理后台左侧边栏看到 Bag 插件 入口:

  1. 配置管理中心:在这里开启 IP 访问限制、设置验证码开关以及配置加密密钥。
  2. 内容管理:插件会自动注册 ArticleCategoryMenu 等内容类型,您可以在 Content Manager 中直接使用。

📡 API 调用

插件自动暴露了标准的 Strapi Content API。所有接口均支持权限控制,请在 Settings > Users & Permissions Plugin > Roles 中开启相应权限。

常用端点:

  • GET /api/bag/articles - 获取文章列表
  • GET /api/bag/menus/:slug - 获取指定标识的导航菜单(树形结构)
  • POST /api/bag/comments - 提交评论
  • POST /api/bag/messages - 提交留言板信息

📖 详细文档

更多详细的使用指南、API 参考及前端集成示例,请访问: 👉 查看在线文档

🤝 贡献与反馈

如果您在使用过程中发现任何问题或有更好的功能建议,欢迎提交 Issue 或 Pull Request。

📄 开源协议

MIT License. Copyright © 2024-present Bag Solution Team.