talib.js
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

talib.js

TA-Lib, the technical analysis library written in C, ported to WebAssembly. Plus a nice API wrapper layer, typescript support and docs.

Installation

npm install --save talib.js

Usage

const talib = require("talib.js");

const inReal = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

async function main() {
  await talib.init();
  console.log(talib.ADD({ inReal0: inReal, inReal1: inReal }));
}

main();

output:

{ output: [
    2,  4,  6,  8, 10,
  12, 14, 16, 18, 20
] }

Documentation

Visit https://hackape.github.io/talib.js/

Docs are generated using typedoc and hosted on GitHub Pages.

Package Sidebar

Install

npm i talib.js

Weekly Downloads

34

Version

0.1.0

License

BSD-3-Clause

Unpacked Size

820 kB

Total Files

8

Last publish

Collaborators

  • hackape