Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Readme
This project is currently unmaintained. We'd love to turn it over to a new maintainer. If you're interested, please file an issue!
Write dBase files in pure JavaScript, in node.js or browsers. Requires ArrayBuffer and DataView support.
npm install dbf
Or just in a browser:
https://unpkg.com/dbf@latest/dbf.js
Replace latest
with the latest version if you want to be sure.
in node:
var dbf = require('../'),
fs = require('fs');
var buf = dbf.structure([
{foo:'bar',noo:10},
{foo:'louie'}
]);
fs.writeFileSync('foo.dbf', toBuffer(buf.buffer));
function toBuffer(ab) {
var buffer = new Buffer(ab.byteLength);
var view = new Uint8Array(ab);
for (var i = 0; i < buffer.length; ++i) {
buffer[i] = view[i];
}
return buffer;
}
dbf.structure(array)
Given an array of objects with string or number attributes, return a DataView object referencing an ArrayBuffer that contains a full DBF file structure.
FAQs
generate dbf files
The npm package dbf receives a total of 7,593 weekly downloads. As such, dbf popularity was classified as popular.
We found that dbf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 28 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.