Files
ferro-ta/wasm/package.json
T
Pratik Bhadane fd1bb137d6 Dtw algo (#9)
* feat: implement Dynamic Time Warping (DTW) functionality

- Added DTW distance computation and optimal warping path functions in Rust.
- Introduced corresponding Python bindings for DTW, DTW_DISTANCE, and BATCH_DTW.
- Enhanced WASM support with a new dtw_distance function.
- Included comprehensive unit tests for DTW functionality, validating against the dtaidistance library and ensuring mathematical properties.

* chore: update ferro-ta version to 1.1.4

- Bumped version number of ferro-ta to 1.1.4 in uv.lock and Cargo.lock files.
- Ensured consistency across package dependencies for the updated version.
2026-04-07 23:38:36 +05:30

42 lines
1.4 KiB
JSON

{
"name": "ferro-ta-wasm",
"version": "1.1.4",
"description": "WebAssembly bindings for ferro-ta technical analysis indicators",
"main": "node/ferro_ta_wasm.js",
"module": "web/ferro_ta_wasm.js",
"types": "node/ferro_ta_wasm.d.ts",
"exports": {
".": {
"node": {
"types": "./node/ferro_ta_wasm.d.ts",
"require": "./node/ferro_ta_wasm.js"
},
"default": {
"types": "./web/ferro_ta_wasm.d.ts",
"import": "./web/ferro_ta_wasm.js"
}
}
},
"files": ["node", "web"],
"scripts": {
"build": "npm run build:node && npm run build:web",
"build:node": "wasm-pack build --target nodejs --out-dir node && node -e \"require('fs').rmSync('node/.gitignore', { force: true }); require('fs').rmSync('node/package.json', { force: true });\"",
"build:web": "wasm-pack build --target web --out-dir web && node -e \"require('fs').rmSync('web/.gitignore', { force: true }); require('fs').rmSync('web/package.json', { force: true });\"",
"bench": "node bench.js",
"prepack": "npm run build",
"test": "wasm-pack test --node"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pratikbhadane24/ferro-ta.git",
"directory": "wasm"
},
"homepage": "https://github.com/pratikbhadane24/ferro-ta#readme",
"bugs": "https://github.com/pratikbhadane24/ferro-ta/issues",
"publishConfig": {
"access": "public"
},
"devDependencies": {}
}