Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

packages and websockets

Đang mở
#18 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, node.js
Lĩnh vực
documentation

Hướng nghiên cứu

Start by reading examples/packages.md and examples/socketClient.md in the linked repo, then locate the packages and websocket implementation in the helloFrontier source to see how private vs externally callable functionality is exposed. The deliverable is documentation (and optionally review notes) covering how a package is defined, how the counter and socketClient examples work, and what the author means by the design needing review. Done looks like a docs page a newcomer could follow to define their own package and connect a websocket client.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

i can't really write docs about the packages feature, it came together in 48 hours, and claude did some design work that blows me away. but it should be reviewed, and i hope that brent, jake, andre take a look if they have time.

packages were inspired by javascript and node.js packages. You can define a set of functionality some of which is private, and some is callable from outside.

there are two examples for you to look at, one that's a simple counter and the other is a websocket client.

https://github.com/scripting/helloFrontier/blob/master/examples/packages.md

https://github.com/scripting/helloFrontier/blob/master/examples/socketClient.md

i haven't built on this yet, beyond these two examples.

Ngôn ngữ chính
JavaScript
Star
3
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của scripting/helloFrontier

Tất cả issue của scripting/helloFrontier

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.