All Projects → cssinjs → Cli

cssinjs / Cli

Licence: mit
A command line tool for JSS.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Cli

Cli
The command line vault (Windows, macOS, & Linux).
Stars: ✭ 1,044 (+1833.33%)
Mutual labels:  cli
Mssql Cli
A command-line client for SQL Server with auto-completion and syntax highlighting
Stars: ✭ 1,061 (+1864.81%)
Mutual labels:  cli
Saw
Fast, multi-purpose tool for AWS CloudWatch Logs
Stars: ✭ 1,071 (+1883.33%)
Mutual labels:  cli
Pitchfork Npm
An Unofficial Pitchfork Music API client for Node.js
Stars: ✭ 50 (-7.41%)
Mutual labels:  cli
Serverless Toolkit
CLI tool to develop, debug and deploy Twilio Functions
Stars: ✭ 51 (-5.56%)
Mutual labels:  cli
Foxshot
Capture web page screenshots using headless Firefox!
Stars: ✭ 52 (-3.7%)
Mutual labels:  cli
Picofeed
A minimal terminal rss reader
Stars: ✭ 50 (-7.41%)
Mutual labels:  cli
S4cmd
Super S3 command line tool
Stars: ✭ 1,076 (+1892.59%)
Mutual labels:  cli
Aegea
Amazon Web Services Operator Interface
Stars: ✭ 51 (-5.56%)
Mutual labels:  cli
Docker Build Cacher
Builds a service with docker and caches the intermediate stages
Stars: ✭ 53 (-1.85%)
Mutual labels:  cli
Sonos Cli
🎶 Command Line Interface for Sonos
Stars: ✭ 50 (-7.41%)
Mutual labels:  cli
Cliwrap
Library for running command line processes
Stars: ✭ 1,057 (+1857.41%)
Mutual labels:  cli
Ncgopher
A gopher and gemini client for the modern internet
Stars: ✭ 53 (-1.85%)
Mutual labels:  cli
Git Req
Check out merge requests from your GitLab/GitHub hosted repositories from the command line with just the request number.
Stars: ✭ 50 (-7.41%)
Mutual labels:  cli
Gg
A tool to manage multiple git repositories
Stars: ✭ 54 (+0%)
Mutual labels:  cli
Pectin
Rollup-related tools for incremental transpilation of packages in Lerna-based monorepos
Stars: ✭ 50 (-7.41%)
Mutual labels:  cli
Cli
Unlock Music Project - CLI Edition
Stars: ✭ 51 (-5.56%)
Mutual labels:  cli
Gomphs
A tool to ping multiple hosts at once with a CLI and web-based overview
Stars: ✭ 54 (+0%)
Mutual labels:  cli
Crex
Explore, test, and check regular expressions in the terminal.
Stars: ✭ 54 (+0%)
Mutual labels:  cli
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-1.85%)
Mutual labels:  cli

CLI for JSS

A command line tool for JSS

Gitter

CLI Demo

Convert CSS to JSS

# Convert CSS to JSS with multiline input support
jss convert -m
# Convert css to json
jss convert source.css -f json > source.js
# Convert css to commonjs
jss convert source.css -f js -e cjs > source.js
# Convert css to es6
jss convert source.css -f js -e es6 > source.js

Convert JSS to CSS

You need either to run the cmd tool locally or to install JSS globally, because it will try to require JSS. Also you can specify a path to JSS. Same is about JSS plugins.

# convert jss to css
jss convert source.js -f css > source.css

API

import {cssToJss} from 'jss-cli'

const css = `
  .container {
    visibility : hidden;
    color: black;
  }
`
cssToJss({code: css})

Install

npm install jss-cli -g

Issues

File a bug against cssinjs/jss prefixed with [cli].

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].