Installations
npm install fixio
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
23.3.0
NPM Version
10.9.0
Score
76.2
Supply Chain
96
Quality
93.4
Maintenance
100
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Languages
TypeScript (96.24%)
JavaScript (3.45%)
Shell (0.31%)
Developer
hpn777
Download Statistics
Total Downloads
72,784
Last Day
97
Last Week
818
Last Month
1,653
Last Year
16,311
GitHub Statistics
12 Stars
81 Commits
6 Forks
2 Watching
1 Branches
5 Contributors
Bundle Size
180.39 kB
Minified
42.06 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.5.35
Package Id
fixio@1.5.35
Unpacked Size
236.46 kB
Size
50.82 kB
File Count
42
NPM Version
10.9.0
Node Version
23.3.0
Publised On
02 Feb 2025
Total Downloads
Cumulative downloads
Total Downloads
72,784
Last day
5.4%
97
Compared to previous day
Last week
177.3%
818
Compared to previous week
Last month
94.2%
1,653
Compared to previous month
Last year
-35.6%
16,311
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
6
An implementation of the FIX protocol (Financial Information Exchange).
Install
1npm install fixio
Test
You can run learning tests by:
1npm test
API
Server:
1const { FIXServer, fixutil } = require("fixio") 2 3const serverOptions = { 4 port: 1234, 5 host: 'localhost' 6} 7 8const server = new FIXServer(serverOptions) 9server.fixIn$.subscribe(fix => { 10 console.log('jsonIn', fixutil.convertToJSON(fix)) 11}) 12server.fixOut$.subscribe(fix => { 13 console.log('jsonOut', fixutil.convertToJSON(fix)) 14}) 15server.error$.subscribe(e => console.error(e)) 16server.listen()
Client:
1const { FIXClient, fixutil } = require("fixio") 2 3const client = new FIXClient("FIX.4.4", "initiator", "acceptor", {}) 4 5client.connect(1234, 'localhost') 6client.fixIn$.subscribe(fix => { 7 console.log('initiator jsonIn', fixutil.convertToJSON(fix)) 8}) 9client.fixOut$.subscribe(fix => { 10 console.log('initiator jsonOut', fixutil.convertToJSON(fix)) 11}) 12client.error$.subscribe(e => console.log(e))
Containerized NPM
You can use a containerized npm run inside a docker container by using the npm
script:
1./npm install
License
Copyright (C) 2018 by Rafal Okninski
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
10 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 9
Reason
Found 4/29 approved changesets -- score normalized to 1
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/hpn777/fixio/pull_request.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/hpn777/fixio/pull_request.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/hpn777/fixio/pull_request.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/pull_request.yml:28
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/pull_request.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 5 are checked with a SAST tool
Score
4.4
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More