🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

funss

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

funss

Automatically generate CSS from class name convensions on runtime

0.0.2
latest
Source
npm
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

FunSS

Automatically generate CSS from class name convensions on runtime

This is just an experiment.

See the demo.

Install

yarn add funss
# or
npm i -S funss

Usage

import funss from 'funss';

const ss = funss();

// parse all current class names
ss.parse(document.body);

// observe changes to DOM and automatically add new classes (via MutationObserver)
ss.observe(document.body);

//or add class names manually
ss.addClassName('mt20 p10');

FAQs

Package last updated on 05 Jan 2018

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