Socket
Socket
Sign inDemoInstall

sywac-style-basic

Package Overview
Dependencies
6
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sywac-style-basic

Basic color styling for your sywac CLI


Version published
Weekly downloads
27
decreased by-47.06%
Maintainers
1
Install size
101 kB
Created
Weekly downloads
 

Changelog

Source

2.0.0 (2020-05-16)

⚠ BREAKING CHANGES

  • Drop support for Node 8, now requires Node 10+

  • bump Node, dev deps, travis config, badges (#14) (fd4ec22)

Readme

Source

sywac-style-basic

Basic color styling for your sywac CLI

Build Status Coverage Status JavaScript Style Guide Dependabot Badge

Default Help Screenshot Error Message Screenshot

Easily add "basic" color styling to your sywac CLI:

// cli.js
const cli = require('sywac')
const basicStyle = require('sywac-style-basic')
cli.style(basicStyle)

This will add style hooks to make your CLI help text colorful/pretty.

Note that this package DOES NOT wrap/include/come with sywac - you should have sywac as a sibling dependency.

Visit https://sywac.io/docs/sync-config.html#style for detailed documentation.

Install

Install sywac and this package together, saving them as production dependencies in your package.json file:

$ npm i -P sywac sywac-style-basic

See code snippet above for usage.

  • sywac - The CLI library you should be using with this package
  • chalk - The library used by this package to make pretty colors
  • @tryghost/pretty-cli - Wraps/exposes a sywac instance preconfigured with its own opinionated styling
  • cies - Example of a CLI that uses this package

License

MIT © Andrew Goode

Keywords

FAQs

Last updated on 16 May 2020

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