Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
sdf-parser
Advanced tools
Allow to parse a SDF file and convert it to an array of objects
npm install sdf-parser
In node script:
// allows to parse a file test.sdf that would be present in the same directory
var parse = require('sdf-parser');
var fs = require('fs');
var sdf = fs.readFileSync('./test.sdf', 'utf-8');
var result = parse(sdf);
console.log(result);
options:
var result = parse(sdf, {
exclude:["Number of H-Donors"],
include:["Number of H-Donors",'CLogP','Code'],
modifiers: {
CLogP: function(field) {
return {
low: field*1-0.2,
high: field*1+0.2
}
}
},
filter: function(entry) {
return (entry.CLogP && entry.CLogP.low>4);
}
});
npm test
npm run build
FAQs
SDF parser
The npm package sdf-parser receives a total of 1,612 weekly downloads. As such, sdf-parser popularity was classified as popular.
We found that sdf-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.