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

clayman

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clayman

A CSS diff tool to take a base styesheet and theme stylesheet and remove the redundancies from the theme.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-92.31%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Clayman

A CSS diff tool to take a base styesheet and theme stylesheet and remove the redundancies from the theme

Clayman is very much in alpha right now.

Install

npm install clayman --save-dev

Reading Documentation

$ git clone git@github.com:xueye/clayman.git
$ open clayman/doc/index.html

Usage

var fs = require('fs'),
    path = require('path'),
    clayman = require("clayman");

var source1 = fs.readFileSync(path.join(__dirname, 'simple-style.css')).toString();

var source2 = fs.readFileSync(path.join(__dirname, 'simple-style-2.css')).toString();

var result = clayman.difference(source1, source2);
console.log(result.toString());

ToDo:

  • command line arguments
  • Create build tools
    • gulp-clayman
    • grunt-clayman
  • much more extensive testing
  • Fix how media queries are handled
  • Get postcss working with typescript
  • Publish .d.ts
  • Upload documentation and host example website
  • Bootstrap example
  • Bootstrap theme website
  • Add more features
    • Allow you to interface with Clayman using filepaths, not just strings
    • Allow you to parse LESS and SASS

Keywords

FAQs

Package last updated on 13 Oct 2015

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