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

@xhopcfine/aster-plugin-will-writer

v0.1.2

Published

Aster plugin for AI-assisted will drafting under China Civil Code

Readme

@xhopcfine/aster-plugin-will-writer

Aster 的 AI 辅助遗嘱起草插件,遵循中国《民法典》遗嘱形式要求。

通过对话逐步引导用户口述意愿,收集立遗嘱人信息、财产清单、继承人、特别安排和遗嘱执行人,最终生成格式规范的遗嘱 HTML 文本,可直接在 Word 中打开打印,并返回逐条合法性检查报告。

不提供法律建议,不替代律师。 最终遗嘱应由持证律师审核后方可签署使用。

Aster 遗嘱起草对话示例

安装

npm install -g aster-agent@latest --registry=https://registry.npmjs.org/
npm install -g @xhopcfine/aster-plugin-will-writer@latest --registry=https://registry.npmjs.org/
aster plugins install will-writer --package @xhopcfine/aster-plugin-will-writer --enabled
aster

使用示例

起草遗嘱

帮我立一份遗嘱

Aster 会调用 will_guide 获取流程提示词,逐步引导:

你好!请问你该怎么称呼呢?今年多大年纪?这次想立遗嘱主要是出于什么考虑呢?

介绍遗嘱形式

我想了解一下不同遗嘱形式的区别

查看历史草稿

帮我看看我之前起草的遗嘱草稿

检查合法性

帮我检查一下这份遗嘱草稿合不合法

重新生成

把这份遗嘱改成打印遗嘱的形式,重新生成

生成的遗嘱是完整的 HTML 文件,包含标题、段落、列表和签名区,保存为 .html 后用 Word 打开即可直接打印。

Aster 工具

| 工具 | 作用 | | --- | --- | | will_guide | 遗嘱起草流程引导提示词 | | will_collect_info | 分步收集信息并存入本地草稿 | | will_generate | 生成正式遗嘱文本(HTML)和合法性报告 | | will_check_validity | 单独检查草稿合法性 | | will_templates | 查看遗嘱模板类型和适用场景 | | will_manage | 管理历史草稿(列表/查看/删除) | | will_start | 启动 Web 服务 | | will_stop | 停止 Web 服务 |

数据与隐私

所有遗嘱数据仅存储在本机 SQLite(~/.aster/plugins/will-writer/will-writer.db),不上传任何外部服务。

免责声明

本插件仅提供遗嘱起草参考,不构成法律意见,不替代律师服务。最终遗嘱应由持证律师审核后方可签署使用。

更新插件

npm install -g @xhopcfine/aster-plugin-will-writer@latest --registry=https://registry.npmjs.org/

安装完成后退出并重新启动 Aster。