
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
object-to-google-spreadsheet
Advanced tools
Push an array of unstructured data objects into a Google spreadsheet
Quickly publish a set of unstructured JSON objects into a Google spreadsheet that you specify.
const O2GS = require('object-to-google-spreadsheet');
// require your Google json credentials file
const creds = require('./creds');
const myReport = new O2GS(creds, '<Your docKey here>');
const options = {
sheetName: 'My Awesome Report',
rowName: 'person', // (optional) the key name of the base of your rows
properties: 'properties', // (optional) the field containing your base's properties
a1Field: 'details', // (optional) the value of the A1 field
sort: true, // (optional) sort fields row alphabetically
removeBase: false // (optional) if true, the base column won't be rendered in the sheet
};
// input must be an array of your objects
const docs = [
{
person : "John",
properties : {
Age: 25,
Address : "16 main st."
}
},
{
person : "Jane",
properties : {
Age : 24,
Hobbies : ["swimming", "Javascripting"]
}
}
];
// push your object to the sheet
myReport.push(docs, options)
.then(result => console.log(result))
.catch(err => console.log(err));
// using async/await
(async ()=> {
try {
await myReport.push(docs, options);
} catch(err) {
console.log(err);
}
})();
This project is licensed under the MIT License and built for OneMeter.com
FAQs
Transform and publish your JSON objects into a Google spreadsheet
The npm package object-to-google-spreadsheet receives a total of 3 weekly downloads. As such, object-to-google-spreadsheet popularity was classified as not popular.
We found that object-to-google-spreadsheet 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.