Socket
Socket
Sign inDemoInstall

gradient-generator

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gradient-generator

The gradient generator


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
3.63 kB
Created
Weekly downloads
 

Readme

Source

#Gradient-generator

The gradient generator.

Quickstart

Install

    npm install -s gradient-generator

Examples

    var gg = require('gradient-generator');
    var step = 10;
    var it = getGradientIterator('#F00', '#0F0', step);
    for(int i = 0; i < step; i++) {
        console.log(it());
    }
    console.log(gg.genGradientColors()); //['#E10',...] the gradient colors 

That's it!

Contribute

  • let me know how it can be improved in the github issues
  • fork and pull-request

Credits

built with ❤ by Tyler Yang

Keywords

FAQs

Last updated on 26 Mar 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc