Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

image-colouriser

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-colouriser

A tool for colouring a selection of images for a dev project

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Image Colouriser

This tool can be used to apply themes to images. It will add css to any svg in the search path and will also transfer other image formats for convenience. It will also allow for having theme specific images by putting the theme name in dots in image name (i.e. image.theme.png). It can output directly to a directory to inject into a site or output to a zip to be uploaded somewhere.

To use it, simply call image-colouriser and follow the prompts. It can also work with command line arguments. These are --images "path" for the path to the images folder, --target "path" for the path to write these images to, --css "path" for the path to the theme css file (this will also be used to work out the theme name), and --zip to specify that a zip file should be outputted.

The application will also look for a schema file in the working directory. This should be called schema.json and be structured as below.

{
  "read": "path/to/images",
  "target": "path/to/write/to",
  "css": "path/to/theme/file",
  "zip": true
}

FAQs

Package last updated on 04 Dec 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc