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

knapsack

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knapsack

A handy bag of sass utilities and mixins

1.1.0
latest
Source
npm
Version published
Weekly downloads
13
-76.79%
Maintainers
1
Weekly downloads
 
Created
Source

Knapsack

npm version

A handy bag of Sass mixins and utilities, and the Sass little brother to Stylus's Axis Library.

Knapsack only provides pure css as defined by the w3c spec any browser prefixing can and should be applied by auto-prefixer.

Installation

Currently there are 3 installation options:

  • With npm: npm install knapsack
  • With bower: bower install knapsack
  • or manually import knapsack/index into your css pipeline

Documentation

Full documentation is here.

Codepen Sandbox

Experiment with the latest version of Knapsack on Codepen.

Contributing

  • Clone/fork the repo:
  • Install dependencies: npm install
  • Install linter: gem install scss-lint
  • Add/edit scss in /knapsack
  • Add comments to code following Sassdoc format
  • Run linter: scss-lint knapsack -c .scss-style.yml
  • Create pull request

(Publishing instructions for contributors here)

Credits

Several mixins ported and adapted from the incredible Axis Stylus Library and a resets are from scut.

Keywords

knapsack

FAQs

Package last updated on 19 Jul 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