Skip to content

Commit b3892a0

Browse files
author
hackape
committed
chore: update generated code
1 parent 1d242db commit b3892a0

File tree

3 files changed

+273
-198
lines changed

3 files changed

+273
-198
lines changed

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

examples/demo.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
const talib = require("talib.js");
1+
// const talib = require('talib.js');
2+
const talib = require('../lib/index.cjs');
23

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

56
async function main() {
67
await talib.init();
7-
console.log(talib.ADD({ inReal0: inReal, inReal1: inReal }));
8+
console.log(talib.SMA({ inReal: inReal, timePeriod: 3 }));
89
}
910

1011
main();

0 commit comments

Comments
 (0)