New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

polywurl

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polywurl

polywurl is a simple helper module for assisting in creating websites with CSS framework agnostic class usage by providing a translation interface between a generic class name and the selected framework's class conventions. Currently has minimal class sup

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Polywurl

Introduction

polywurl is a simple helper module for assisting in creating websites with CSS framework agnostic class usage by providing a translation interface between a generic class name and the selected framework's class conventions. Currently has minimal class support for Bootstrap and Foundation.

Installation

Install via npm by executing: npm install polywurl

Usage

var polywurl = require('./src/polywurl.js');
var bootstrap = new polywurl("bootstrap");
var foundation = new polywurl("foundation");

console.log(bootstrap.getClass('column-large-4'));
// col-lg-4
console.log(bootstrap.getClass('button-default'));
// btn btn-default
console.log(foundation.getClass('column-large-4'));
// column large-4
console.log(foundation.getClass('button-default'));
//  button secondary

Keywords

bootstrap

FAQs

Package last updated on 28 Jun 2016

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