Skip to content

Commit 1e90795

Browse files
authored
Merge pull request #2 from fastschema/feat.update_readme
feat: update readme
2 parents 58687b9 + 123cd9d commit 1e90795

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
# QJS - JavaScript in Go with QuickJS and Wazero
22

3-
[![Go Version](https://img.shields.io/badge/go-1.23.0+-blue.svg)](https://golang.org/doc/devel/release.html)
4-
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
5-
[![GoDoc](https://godoc.org/github.com/fastschema/qjs?status.svg)](https://pkg.go.dev/github.com/fastschema/qjs)
3+
<p align="center">
4+
<a href="https://pkg.go.dev/github.com/fastschema/qjs#section-readme" target="_blank" rel="noopener">
5+
<img src="https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white" alt="Go.Dev reference" />
6+
</a>
7+
<a href="https://goreportcard.com/report/github.com/fastschema/qjs" target="_blank" rel="noopener">
8+
<img src="https://goreportcard.com/badge/github.com/fastschema/qjs" alt="go report card" />
9+
</a>
10+
<a href="https://codecov.io/gh/fastschema/qjs" target="_blank" rel="noopener">
11+
<img src="https://codecov.io/gh/fastschema/qjs/graph/badge.svg?token=yluqOtL5z0" alt="codecov" />
12+
</a>
13+
<a href="https://github.com/fastschema/qjs/actions" target="_blank" rel="noopener">
14+
<img src="https://github.com/fastschema/qjs/actions/workflows/ci.yml/badge.svg" alt="test status" />
15+
</a>
16+
<a href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener">
17+
<img src="https://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license" />
18+
</a>
19+
</p>
620

721
QJS is a CGO-Free, modern, secure JavaScript runtime for Go applications, built on the powerful QuickJS engine and Wazero WebAssembly runtime. It allows you to run JavaScript code safely and efficiently, with full support for ES6+ features, async/await, and Go-JS interoperability.
822

mem_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ func TestMem_ReadWrite(t *testing.T) {
274274
memSize := mem.Size()
275275

276276
// Use a large pointer value that's definitely out of bounds
277-
largePtr := memSize + 1000
277+
var largePtr uint32
278278
if memSize > 1000 {
279279
largePtr = memSize + 1000
280280
} else {

0 commit comments

Comments
 (0)