
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
excel-cloner
Advanced tools
Easy to clone any fully formatted excel template and place your data any where in template as you like
Easy to clone any fully formatted excel template and place your data any where in template as you like
yarn add excel-cloner
See test file at test/template-1.test.ts
import { getWorksheetCloner } from 'excel-cloner';
// Init cloner from template file
const { cloner, workbook } = await getWorksheetCloner(
'templates/01.xlsx',
'template'
);
// Prepare data
const data = MOCK_DATA;
// Clone Header
cloner.next('A1', 'L3', data);
// Clone Group
_.forEach(data.groups, (group, index) => {
// Clone Group Header
cloner.next('A4', 'L7', { ...group, index: index + 1 });
// Clone Group Item
const firstItemRowIndex = cloner.cursor.row + 1;
_.forEach(group.items, (item, index) => {
cloner.next('A8', 'L8', { ...item, index: index + 1 });
});
// Add dynamic formula
const lastItemRowIndex = cloner.cursor.row;
const formula = `=SUM(H${firstItemRowIndex}:H${lastItemRowIndex})`;
// Clone Group Footer & margin 1 row
cloner.next('A9', 'L9', { tongTL: formula }, 1);
});
// Clone Footer
cloner.next('A10', 'L19', { FOOTER_02: 'Nội dung cuối file' });
// Export workbook
const result = fs.createWriteStream('result.xlsx');
await workbook.xlsx.write(result);
FAQs
Easy to clone any fully formatted excel template and place your data any where in template as you like
We found that excel-cloner 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.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.