Pnt
🔧 Fast and tiny Node.js tools, for Node.js version manager and Node.js registry manager, built in Moonbit
Install / Use
/learn @colmugx/PntREADME
PNT(Pico NodeJS Toolkit)
PNT(Pico NodeJS Toolkit) is a Node.js management tool built on Moonbit including a fast version manager similar to gmn and fnm, and a registry manager similar to nrm.
(This project is experimental. Do not use it in production.)
Main Features
- High Performance: Fast execution speed for common operations, low memory usage, suitable for resource-constrained environments.
- Versatile Features:
- Remote version listing with LTS filter support
- Quick installation, switching, and uninstallation of Node.js versions
- Registry management for easy switching of Node.js mirrors
- Lightweight: Minimal resource consumption for local operations, suitable for various scenarios
Usage
PNT is a command-line tool that can be used as follows:
List Remote Modules
pnt list_remote
To list only LTS versions:
pnt list_remote --lts
Install a Specific Version
pnt install <version>
To install the latest LTS:
pnt install lts
Switch to a Specific Version
pnt use <version>
To switch to the latest LTS:
pnt use lts
Build Guide
- Clone the repository:
git clone https://github.com/colmugx/pnt.git - Enter the project directory:
cd pnt - Install dependencies and build the project (ensure all required dependencies are installed):
moon build --target native
Notes
- Requires Zig 0.11.0 or later.
- Ensure that the MoonBit runtime environment is properly set up.
- The current code only supports macOS/aarch64 platform.
Inspired
License
This project is licensed under the MIT License. For details, see LICENSE.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
