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

ielts100sentences

v1.1.0

Published

A TUI application for IELTS translation practice with 100 sentences

Downloads

40

Readme

IELTS 100 Sentences TUI

一个基于 ink 库的 IELTS 翻译练习命令行工具,包含 100 个精选句子。

功能特点

  • 📚 包含 100 个精选 IELTS 句子
  • 🎯 按语法结构分类组织 (12种语法结构)
  • ✍️ 交互式翻译练习
  • 📖 参考翻译和 AI 翻译对比
  • 📊 进度追踪
  • 🔄 可重复练习
  • 🚀 句子跳转功能 (Ctrl+J)
  • 🎨 现代化 TUI 界面

安装

npm install -g ielts100sentences

使用方法

安装完成后,在终端中运行:

ielts100sentences

操作说明

基本操作

  • Enter - 提交翻译/进入下一句
  • 方向键左右 - 移动光标
  • Backspace - 删除字符
  • Ctrl+C - 退出程序

高级操作

  • Ctrl+J - 跳转到指定句子 (1-100)
  • R - 重新开始练习(完成屏幕)
  • Q - 退出程序

句子跳转

  1. Ctrl+J 进入跳转模式
  2. 输入目标句子编号
  3. Enter 确认跳转
  4. Esc 取消跳转

练习流程

  1. 程序会显示句子的分类标题和中文句子
  2. 在输入框中输入你的英文翻译
  3. 按 Enter 提交答案
  4. 查看你的翻译、参考翻译和 AI 翻译的对比
  5. 按 Enter 继续下一句或返回上一句
  6. 完成所有句子后显示完成界面

句子分类

  • 简单的主谓宾结构
  • 主语 + 及物动词 + 宾语 + 宾语补足语
  • 主语 + 及物动词 + 间接宾语 + 直接宾语
  • 被动语态
  • 主语 + 不及物动词
  • 主系表结构
  • it 作形式主语或者形式宾语的句子
  • there be 句型
  • 并列句
  • 状语从句
  • 名词性从句
  • 定语从句

开发

本地开发

# 克隆仓库
git clone <repository-url>
cd ielts-tui

# 安装依赖
npm install

# 开发模式运行
npm run dev

# 构建项目
npm run build

# 运行构建后的版本
npm start

项目结构

ielts-tui/
├── src/
│   ├── components/     # React 组件
│   ├── hooks/         # 自定义 Hooks
│   ├── types.ts       # 类型定义
│   ├── sentences.ts   # 句子数据
│   ├── App.tsx        # 主应用组件
│   └── index.tsx      # 入口文件
├── bin/
│   └── ielts-tui      # 可执行文件
├── dist/              # 构建输出
└── package.json

技术栈

  • React - UI 组件框架
  • TypeScript - 类型安全
  • Ink - React 命令行界面库
  • Node.js - 运行环境

许可证

MIT License

贡献

欢迎提交 Issue 和 Pull Request!