README.md in bem-constructor-0.7.1 vs README.md in bem-constructor-0.8.0
- old
+ new
@@ -1,6 +1,6 @@
-# BEM Constructor [![Build Status](https://travis-ci.org/danielguillan/bem-constructor.svg?branch=master)](https://travis-ci.org/danielguillan/bem-constructor) [![Bower version](https://badge.fury.io/bo/bem-constructor.svg)](http://badge.fury.io/bo/bem-constructor) [![Gem Version](https://badge.fury.io/rb/bem-constructor.svg)](http://badge.fury.io/rb/bem-constructor)
+# BEM Constructor [![Build Status](https://travis-ci.org/danielguillan/bem-constructor.svg?branch=master)](https://travis-ci.org/danielguillan/bem-constructor) [![npm version](https://badge.fury.io/js/sass-bem-constructor.svg)](https://badge.fury.io/js/sass-bem-constructor) [![Bower version](https://badge.fury.io/bo/bem-constructor.svg)](http://badge.fury.io/bo/bem-constructor) [![Gem Version](https://badge.fury.io/rb/bem-constructor.svg)](http://badge.fury.io/rb/bem-constructor)
BEM Constructor is a Sass library for building immutable and namespaced BEM-style CSS objects.
By enforcing a consistent and programatic way of defining objects (blocks, elements and modifiers) it ensures a more structured, robust and secure object codebase that is easy to understand and maintain. Objects defined using the constructor are impossible to modify and reassign by mistake or omission.
@@ -34,20 +34,27 @@
BEM objects are composed of a block and any number of elements and/or modifiers. Using the BEM syntax for naming classes you'll produce structured code that helps you and other developers understand at a glance the relationship between those classes. The BEM constructor takes care of generating bem-compliant selectors.
## Installation
-There are 3 ways of installing BEM Constructor:
+There are 4 ways of installing BEM Constructor:
### Download
Download [bem-constructor.scss](/dist/_bem-constructor.scss) and place it in your Sass directory.
### Bower
Run the following command:
bower install --save-dev bem-constructor
+
+### NPM
+
+Run the following command:
+
+ npm install sass-bem-constructor --save-dev
+
### Compass extension
1. `gem install bem-constructor`
2. Add `require 'bem-constructor'` to your `config.rb`