Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cxmr/ta-rt

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cxmr/ta-rt - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

src/duration.d.ts

5

package.json
{
"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";

37

src/index.js
"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
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc