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

subtlepatterns

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

subtlepatterns

Get meta and download all patterns from subtlepatterns.com

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm install subtlepatterns

Subtle patterns download tool

Just a simple tool that can:

  • get actual patterns meta in JSON format from subtlepatterns website
  • download the patterns, unpack them and generate meta file with files and palette information.

The patterns are under CC BY-SA 3.0 license. So play nicely and leave a credit when you use them. The generated meta files contain the meta from the website (author and link (if any), as well as description)

Read FAQ at subtlepatterns.com for more.

Usage

To use as a lib (why would you need that? Whatever...) you can simply require the package (there is a bin.js file, see it for usage example). The methods the lib exposes are promise-based, but the API may be imperfect...

To download the patterns (files) and build JSON with meta - install package globally via npm (npm install -g subtlepatterns) and run subtlepatterns in command line under any directory you have write access - and the files should be downloaded to patterns directory under current working directory.

Adding a --colors parameter will also download palette for the colors.

List

Completely different mode is running subtlepatterns list - it will simply skim through all the patterns pages, grab the meta and output it as array into stdout.

Of course, you can pipe the output via something like subtlepatterns list > patterns.json.

Keywords

FAQs

Package last updated on 13 Oct 2019

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