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.
@smarterservices/html-to-pdf-to-s3
Advanced tools
Readme
npm install @smarterservices/html-to-pdf-to-s3 -s
let pdfClient = require('@smarterservices/html-to-pdf-to-s3');
let pdf = new pdfClient(config); // config defined below
pdf.convertUrl(url,bucket,name,options)
.then(console.log)
.catch(console.log)
{
"accessKey":"aws access key. not required",
"secretKey":"aws secret key not required",
"region": "aws region. not required defaults to us-east-1",
"pdfCrowd": {
"userName": "pdfCrowd username",
"apiKey": "pdfCrowd api key",
"hostName": "pdfCrowd hostname. omit for default."
}
}
Can use AWS keys in env variable as AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
NOTE: AWS will use credentials in this order passed in to config > in environment var > with your system profile
url
: url that will be converted to pdfbucket
: name of bucket to insert itemname
: name of output item(must end in .pdf)options
: options object for pdfCrowd. This is optional.pdf.convertUrl('http://google.com','testBucket','google.pdf')
.then(console.log)
.catch(console.log)
html
: raw html that will be convertedbucket
: name of bucket to insert itemname
: name of output item(must end in .pdf)options
: options object for pdfCrowd. This is optional.pdf.convertHtml('<strong>Hi</strong>','testBucket','google.pdf')
.then(console.log)
.catch(console.log)
FAQs
Module that takes a URL and using pdfcrowd pipes the resulting pdf into an s3 bucket
The npm package @smarterservices/html-to-pdf-to-s3 receives a total of 5 weekly downloads. As such, @smarterservices/html-to-pdf-to-s3 popularity was classified as not popular.
We found that @smarterservices/html-to-pdf-to-s3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.