Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
calculations-json
Advanced tools
Calculations JSON is made to simplify parse process for the following files:
That extensions works perfectly and on that extensions it has been tested out.
To install that module just type:
npm install calculations-json
After that just import that module:
const calculations = require('calculations-json');
To start using that module You will have to specify which file do You want to parse and convert into the JSON format.
There are 3 possibilities for now:
calculations.xlsToJson(config);
calculations.xlsxToJson(config);
calculations.csvToJson(config);
Configuration for that will be as following:
const config = {
input: {
type: 'file | stream', // stream or file (default 'file')
path: 'path to file', // relative path to the file
delimiter: ';' // delimiter (default ';')
},
options: {
headerLine: 0, // header line number
contentStartsAt: 1 // line from where the content starts
headerAsKey: false // if want selected header to be the keys
xlsSheetName: null // for xls and xlsx provide sheet name or the first one will be taken
},
excludedLines: [0,1] // lines to exclude
};
[X] Prepare output mechanisms
[X] Make the output fully configurable
© by Mike Makowski (2018)
Portfolio: MMakowski.Online
LinkedIn: WebEferen
FAQs
Parser module for the XLS / XLSX / CSV formats into plan JSON
The npm package calculations-json receives a total of 2 weekly downloads. As such, calculations-json popularity was classified as not popular.
We found that calculations-json 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.