Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
stripes-maker
Advanced tools
Readme
Node.js stripe pattern generator and maker. It can create multi-line static and animated SVG stripe patterns.
npm install stripes-maker
npm start
This is an example stripes configuration file that will create an SVG file with four stripes.
const config = {
out: './out/example.svg', // the pass to the output file
width: 300, // SVG width
height: 300, // SVG height
bgColor: '#fff', // SVG background color
lineRotation: 45, // stripes rotation angle in degrees
// optional animation -----------
animationType: 4, // linear animation - see types list below
animationDuration: 30, // seconds
// the list of stripes ----------
stripes: [
{
color: '#505050',
size: 20,
},
{
color: '#92CBFA',
size: 10,
},
{
color: '#AB3C83',
size: 20,
},
{
color: '#ffffff',
size: 10,
}
]
};
There are four possible types of animation that can be specified in the configuration file.
The script can also be run globally using the following command:
stripes-maker
You can also pass another configuration file:
stripes-maker another.config.js
FAQs
Node.js stripe pattern generator and maker. It can create multi-line static and animated SVG stripe patterns.
We found that stripes-maker 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).