@cxmr/ta-rt
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "@cxmr/ta-rt", | ||
"version": "0.0.0", | ||
"version": "0.0.1+61040b3d", | ||
"description": "Node.js API to realtime TA stream.", | ||
"main": "src/index.js", | ||
"typings": "src/index.d.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "Łukasz Kurowski <crackcomm@gmail.com>", | ||
@@ -11,0 +8,0 @@ "license": "BUSL-1.1", |
@@ -1,1 +0,4 @@ | ||
export {}; | ||
export * as duration from "./duration"; | ||
export * from "./indicators"; | ||
export * from "./stream"; | ||
export * from "./subscription"; |
"use strict"; | ||
// Copyright © 2023 Łukasz Kurowski. All rights reserved. | ||
// ŁUKASZ KUROWSKI CONFIDENTIAL AND TRADE SECRET | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const net = require("net"); | ||
const opts = { | ||
port: 1234, | ||
host: 'localhost', | ||
}; | ||
// Create a server that listens for incoming connections | ||
const socket = net.createConnection(opts); | ||
socket.on('connect', () => { | ||
console.log('connected'); | ||
socket.write("Hello"); | ||
}); | ||
socket.on('connect', (data) => { | ||
// | ||
console.log('received', data.toString()); | ||
}); | ||
socket.on('close', () => console.log('closed')); | ||
exports.duration = void 0; | ||
exports.duration = require("./duration"); | ||
__exportStar(require("./indicators"), exports); | ||
__exportStar(require("./stream"), exports); | ||
__exportStar(require("./subscription"), exports); |
{ | ||
"include": ["src/**/*"], | ||
"compilerOptions": { | ||
@@ -7,10 +8,6 @@ "target": "es2020", | ||
"moduleResolution": "node", | ||
"lib": [ | ||
"ES2020" | ||
], | ||
"types": [ | ||
"node" | ||
], | ||
"lib": ["ES2020"], | ||
"types": ["node"], | ||
"strict": true | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
9769
12
287
2
3