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

spreadjs-template

v0.2.7

Published

SpreadJS template scaffolding tool

Readme

spreadjs-template

这是一个用于 快速生成 SpreadJS 19.x.x 模板一键安装SpreadJS全家桶的脚手架。

安装

npm install -g spreadjs-template

使用

在命令行输入以下任意命令:

spjs
# 或者
spreadjs

模板类型说明

1. 公网 CDN 模板 (*-cdn.html)

  • 资源路径: 使用 jsDelivr 在线提供SpreadJS 19.x.x 的静态资源包。
  • 优点: 无需任何本地配置,只需联网即可运行。

2. Docker 静态资源模板 (*-docker.html)

  • 资源路径: 本机部署的Docker容器提供SpreadJS 19.x.x 的静态资源包。
  • 优点: 无需联网,方便没有网络的环境测试。
  • 环境搭建:
    • 该模板依赖excellentdavid/spreadjs Docker 镜像提供资源支持。

    • 拉取镜像:

      docker pull excellentdavid/spreadjs
    • 启动容器:运行镜像时请务必进行 80:80 的端口映射。

      docker run -d -p 80:80 excellentdavid/spreadjs

3. 框架组件模板 (Others...)

提供了针对主流前端框架的组件化模板文件,支持 Vue 3、Vue 2 以及 React (JSX)。

  • 自动关联样式: 当选择 React (.jsx) 模板时,脚手架会自动生成并重命名配套的 .css 文件,并自动修正代码中的 import 引用。
  • 一键安装NPM包: 生成文件后,脚手架会询问是否安装 SpreadJS 全家桶。选择“是”将自动安装SpreadJS 全家桶。

注意:生成的模板文件及所有安装的 NPM 包(node_modules)都将存放于您执行命令时的当前工作目录中。