Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
cmk-checklist
Advanced tools
コミケットカタログ向けチェックファイル(CSV形式)の読み込み・書き込み
npm install cmk-checklist
const checklist = require('cmk-checklist');
const fs = require('fs');
// checklist.csvを読み込み
const file = fs.readFileSync('./checklist.csv');
checklist.read(file).then((result) => {
console.log(result.header.eventName);
}).catch((error) => {
console.log(error);
});
// Async/Await形式で読み込み
async function read() {
const result = await checklist.read(file);
console.log(result.header.eventName);
});
// Callbackを設定
checklist.read(file, (err, result) => {
if (err) console.log(err);
else console.log(result.header.eventName);
});
const checklist = require('cmk-checklist');
const fs = require('fs');
async function write() {
// 既存のチェックリストを読み込み
const file = fs.readFileSync('./checklist.csv');
let chk = await checklist.read(file);
// チェックリストを新規作成
chk = new checklist.Checklist();
// コミケ開催番号を指定して作成
chk = new checklist.Checklist(91);
// サークルを追加
chk.circles.append({
serialNumber: 129936,
colorNumber: 1,
pageNumber: 831,
cutIndex: 21,
week: '金',
area: '西',
block: 'れ',
spaceNumber: 19,
spaceNumberSub: 'a',
genreCode: 112,
circleName: 'apricot+',
circleNameYomi: 'アプリコットプラス',
penName: '蒼樹うめ',
});
// チェックリストを書き込み
const output = await checklist.write(chk);
fs.writeFileSync('./output.csv', new Buffer(output));
}
FAQs
Read/Write CSV files for Comiket catalog checklist
The npm package cmk-checklist receives a total of 1 weekly downloads. As such, cmk-checklist popularity was classified as not popular.
We found that cmk-checklist 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.