reverse-tachyons
Convert a tachyons string to its CSS (or JavaScript) equivalent.
Last updated 2 years ago by hugozap .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install reverse-tachyons 
SYNC missed versions from official npm registry.

Reverse Tachyons

Convert a tachyons string to its CSS (or JavaScript) equivalent.

Useful if you like tachyons conventions but need the actual CSS instead.

Install

npm install -g reverse-tachyons

Usage (Command line)

From your terminal type:

reverse-tachyons  "w-100 h-100 w-100-ns bg-black pa0" --js

Output

->Defaults:
{ height: '100%',
  width: '100%',
  backgroundColor: '#000',
  padding: '0' }

->Not small:
{ width: '100%' }

Flags

--js Return a JavaScript Object (useful for inline styles in React

If you omit the flag, a CSS formatted declaration will be returned

Current Tags

  • 1.1.12                                ...           latest (2 years ago)

13 Versions

  • 1.1.12                                ...           2 years ago
  • 1.1.11                                ...           2 years ago
  • 1.1.10                                ...           2 years ago
  • 1.1.9                                ...           2 years ago
  • 1.1.8                                ...           3 years ago
  • 1.1.7                                ...           3 years ago
  • 1.1.6                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (10)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |