Installations
npm install goban
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
23.4.0
NPM Version
11.0.0
Score
78.6
Supply Chain
95.7
Quality
92.5
Maintenance
100
Vulnerability
88
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (98.43%)
JavaScript (0.93%)
Makefile (0.27%)
Stylus (0.22%)
Shell (0.1%)
HTML (0.05%)
Developer
online-go
Download Statistics
Total Downloads
52,660
Last Day
26
Last Week
363
Last Month
912
Last Year
13,087
GitHub Statistics
47 Stars
1,187 Commits
41 Forks
7 Watching
3 Branches
18 Contributors
Bundle Size
347.71 kB
Minified
83.36 kB
Minified + Gzipped
Package Meta Information
Latest Version
8.3.74
Package Id
goban@8.3.74
Unpacked Size
12.04 MB
Size
2.25 MB
File Count
242
NPM Version
11.0.0
Node Version
23.4.0
Publised On
17 Jan 2025
Total Downloads
Cumulative downloads
Total Downloads
52,660
Last day
62.5%
26
Compared to previous day
Last week
146.9%
363
Compared to previous week
Last month
29.7%
912
Compared to previous month
Last year
-23.1%
13,087
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
52
Current state
Warning This code base has been extracted from the online-go.com source code where it was highly integrated and minimally touched for many years even during some moderinization of the rest of the site. Until v 1.0 is released of this library, it is not recommended to make use of it as much overhaul is happening to improve usability on sites other than online-go.com.
Usage:
To import into an application targeting the web:
import { ... } from "goban";
To import into an application targeting node, use the goban-engine package:
import { ... } from "goban-engine";
Documentation
https://docs.online-go.com/goban/
Dev setup
1. Building goban
If you have make
installed you can simply run
make
Or, you can build and run manually using
yarn install
yarn run dev
(yarn install
is only necessary the first time you start working on the project,
or whenever dependencies are updated)
2. Using local clone of goban
while working on online-go.com
From your goban
directory run
yarn link
From the online-go.com
directory run
yarn link goban
Once done, your online-go.com development environment will use your development
goban
code.
Before PR
Be ready for CI check on PR:
- run tests
npm test
- run prettify
npm run prettier
[Optional] You can also set up a pre-commit to run checks locally before you commit:
npx husky install
Running & Writing tests
Tests live in src/__tests__
directory, check it out & add Your own!
To run tests:
npm test
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
Reason
Found 3/19 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/online-go/goban/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/online-go/goban/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/online-go/goban/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/online-go/goban/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/online-go/goban/main.yml/main?enable=pin
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 15 are checked with a SAST tool
Score
3.2
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to goban
goban-engine
This contains the built Go engine that is used by the Goban package. There are no display components in this package, only the logic for playing the game of Go, making it suitable for usage in node.js or other server-side environments.
@3778.care/goban
Our Design System based on Material-UI
react-goban
A stateless React component displaying a Goban
mei-goban
Goban for meishengo in HTML5 Canvas