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.
node-lepton
Advanced tools
Readme
A NodeJS wrapper library for Dropbox JPEG Letpon compression tool.
This guide assumes you have Dropbox Lepton and node/npm already installed.
First, run npm install node-lepton --save
for your app. Then, in an Express app:
var lepton = require('node-lepton');
// ...
After this you can run one of two commands, compress or decompress. You must provide a valid path for either of these functions to work.
These functions takes a callback that returns an error object and the output in form of a binary file blob.
lepton.compress('../../aoeu.jpeg',
{
unjailed: true,
},
function(err, data){
if(err) throw err;
console.log('Successfully compressed aoeu.jpeg');
});
lepton.decompress('../../aoeu.lep',
{
unjailed: true,
},
function(err, data){
if(err) throw err;
console.log('Successfully decompressed aoeu.lep');
});
##Options
####unjailed type: Boolean
####single_thread type: Boolean
####max_children type: Integer
####preload type: Boolean
####allow_progressive type: Boolean
####fork type: Boolean
####zlib type: Boolean
####timebound type: Integer (in ms)
####Socket type: Boolean or Integer (port)
####Listen type: Boolean or Integer
####ZLibListen type: Boolean or Integer
FAQs
NodeJS Wrapper Library for Dropbox Lepton
The npm package node-lepton receives a total of 3 weekly downloads. As such, node-lepton popularity was classified as not popular.
We found that node-lepton 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
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.