Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# node-cld3
# node-cld3

Wrapper around the cld3 library. (WIP)

1. Clone this repository
2. Ensure you are using Node.js 18
3. Run `npm install`
4. Test with `node test/index.js`
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"dependencies": {
"bindings": "^1.5.0",
"cmake-js": "^7.2.1",
"node-addon-api": "^6.0.0"
"node-addon-api": "^6.1.0"
}
}
2 changes: 1 addition & 1 deletion scripts/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const root = path.join(__dirname, '..');
const cld3Path = path.join(root, 'cld3');

execSync('rm -rf cld3', { cwd: root });
execSync('git clone https://github.com/google/cld3.git', { cwd: root });
execSync('git clone https://github.com/Aschen/cld3.git', { cwd: root });
execSync('rm -rf cld3/.git', { cwd: root });
execSync('mkdir -p build', { cwd: cld3Path });
execSync('cmake -S . -B ./build', { cwd: cld3Path });
Expand Down