Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
falcon-invoice
Advanced tools
Generate PDF invoices using HTML templates and mustaches!
npm install falcon-invoice
Check out test/index.js
for a more detailed example!
const invoice = require('falcon-invoice')
const template = '/path/to/template'
const templateVariables = {
name: 'Herp Derpington'
}
// Optional options
const options = {
filename: 'differentName.pdf',
pdfOptions: {
orientation: 'landscape'
}
}
invoice(template, templateVariables, options)
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<p>
Customer Name: {{name}}
</p>
</body>
</html>
This package uses: html-pdf and mustache
I got my test html template from: https://github.com/NextStepWebs/simple-html-invoice-template
FAQs
Generate PDF invoices using html templates and mustaches!
The npm package falcon-invoice receives a total of 27 weekly downloads. As such, falcon-invoice popularity was classified as not popular.
We found that falcon-invoice 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.