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

watchara-flow

v0.1.4

Published

Visual flow-based automation runtime (Node-RED inspired) — install and run instantly

Readme

watchara-flow

Visual flow-based automation runtime แบบ Node-RED — ติดตั้งผ่าน npm แล้วรันได้ทันที

ติดตั้งและรัน

สำคัญ: npx watchara-flow จะใช้ได้ก็ต่อเมื่อ publish ขึ้น npm registry แล้ว
ถ้ายังไม่ publish ให้ติดตั้งจากไฟล์ local ตามหัวข้อ "ทดสอบก่อน publish" ด้านล่าง

วิธีที่ 1: npx (หลัง publish แล้ว)

npx watchara-flow

วิธีที่ 2: ติดตั้ง global

npm install -g watchara-flow
watchara-flow

วิธีที่ 3: ติดตั้งในโปรเจกต์

npm install watchara-flow
npx watchara-flow

เปิดเบราว์เซอร์ที่ URL ที่แสดงใน terminal (default: http://127.0.0.1:1880)

เมื่อรันแล้วจะเห็นสถานะแบบ dev server:

  ▲ Watchara Flow v0.1.1

  - Local:    http://127.0.0.1:1880
  - Health:   http://127.0.0.1:1880/health

  ✓ Server ready in 12ms

  Press Ctrl+C to stop

ถ้า port 1880 ถูกใช้อยู่แล้ว จะหา port ว่างให้อัตโนมัติ (1881, 1882, ...)

กำหนด port / host

watchara-flow --port 3000
watchara-flow --host 0.0.0.0 --port 4000

# หรือใช้ environment variables
PORT=5000 HOST=0.0.0.0 watchara-flow

| Option | Default | คำอธิบาย | |--------|---------|----------| | -p, --port | 1880 | พอร์ตที่ server ฟัง (เหมือน Node-RED) | | -H, --host | 127.0.0.1 | address ที่ bind | | -v, --version | — | แสดง version | | -h, --help | — | แสดงวิธีใช้ |

API

  • GET / — หน้า placeholder ของ flow editor (กำลังพัฒนา)
  • GET /health — สถานะ runtime แบบ JSON

ทดสอบก่อน publish

npx watchara-flow จะ error 404 Not Found จนกว่าจะ npm publish — นี่เป็นพฤติกรรมปกติ

ติดตั้งจากไฟล์ .tgz (แนะนำ)

ใน repo ต้นทาง:

npm run flow:pack
# ได้ไฟล์ watchara-flow-0.1.0.tgz

ในโฟลเดอร์ทดสอบ (เช่น D:\2026\watchara\test):

npm install D:\2026\watchara\open-source\test\watchara-flow-0.1.0.tgz
npx watchara-flow

วิธีอื่น

# จากโฟลเดอร์ package โดยตรง
cd packages/watchara-flow
npm run build
npm link

cd D:\2026\watchara\test
npm link watchara-flow
watchara-flow
# npx ชี้ไปที่โฟลเดอร์ package (ไม่ต้อง pack)
npx D:\2026\watchara\open-source\test\packages\watchara-flow

Publish

npm login
npm publish --access public