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

gridify

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridify

Simple code to add a root-element-relative vertical rhythm checker to a web page. Inspired by Sassline.

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

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

Gridify: In-Browser Vertical Rhythm Measurement Tool

Gridify is inspired by the grid at sassline.com.

Demo

Gridify Example

Usage

  1. Copy the bookmarklet to a new bookmark in your browser
  2. Click the bookmarklet
  3. Give the prompt a selector (e.g. #main) to attach itself to.

Gridify uses the page's root element's font-size to determine how to size itself. In other words, it sizes the grid according to the rem unit.

Building/Contributing

  1. This project depends on babel (implicitly, via babelify), uglifyify, and browserify.
  2. npm run build - this will print compiled code to STDOUT.
  3. npm run build:bookmarklet - this will write minified + compiled code to gridify.bookmarklet.js.

Keywords

FAQs

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