
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
rf2-results-parser
Advanced tools
This is a small package that will allow you to transform a results file generated by the popular racing sim, rFactor2.
This is a small package that will allow you to transform a results file generated by the popular racing sim, rFactor2.
As of today the file generated is given to us a very heavy XML document, which is usable, but at the same time probably gives us more information than we need at any given time.
This utility will allow you to pass in a results file and it will parse it into a usable JSON format for you whilst also getting rid of any cruff you may not need right away.
Import (CommonJS)
const parseResults = require('rf2-results-parser');
Import (ES6)
import { parseResults } from 'rf2-results-parser';
Using the funtion
How you supply it the file is up to you, but chances are you will be using it within an API. Here is an example when using Node's FS module:
fs = require('fs');
const parseResults = require('./src/index.js');
fs.readFile('./mocks/race-example.xml', (err, data) => {
const resultsData = parseResults(data);
console.log(parsedData);
});
For now the function only takes 1 arguement which is the data from the file you supply. An arguement for certain options will be added in due course.
Needs Completing...
FAQs
This is a small package that will allow you to transform a results file generated by the popular racing sim, rFactor2.
The npm package rf2-results-parser receives a total of 0 weekly downloads. As such, rf2-results-parser popularity was classified as not popular.
We found that rf2-results-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.