Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "cellophane", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A lightweight wrapper around the array.", | ||
@@ -5,0 +5,0 @@ "author": "Lim Yuan Qing", |
@@ -1,2 +0,2 @@ | ||
# Cellophane.js [![npm Version](http://img.shields.io/npm/v/cellophane.svg?style=flat)](https://www.npmjs.org/package/cellophane) [![Build Status](https://img.shields.io/travis/yuanqing/cellophane.svg?style=flat)](https://travis-ci.org/yuanqing/cellophane) [![Coverage Status](https://img.shields.io/coveralls/yuanqing/cellophane.svg?style=flat)](https://coveralls.io/r/yuanqing/cellophane) | ||
# cellophane.js [![npm Version](http://img.shields.io/npm/v/cellophane.svg?style=flat)](https://npmjs.org/package/cellophane) [![Build Status](https://img.shields.io/travis/yuanqing/cellophane.svg?branch=master&style=flat)](https://travis-ci.org/yuanqing/cellophane) [![Coverage Status](https://img.shields.io/coveralls/yuanqing/cellophane.svg?style=flat)](https://coveralls.io/r/yuanqing/cellophane) | ||
@@ -7,2 +7,6 @@ > A lightweight wrapper around the array. | ||
```js | ||
var cellophane = require('cellophane'); | ||
``` | ||
### Constructor | ||
@@ -559,3 +563,3 @@ | ||
c.sort('foo'); | ||
c.sortBy('foo'); | ||
//=> cellophane([ | ||
@@ -567,3 +571,3 @@ // { foo: 1 }, | ||
c.sort('foo', { order: 'desc' }); | ||
c.sortBy('foo', { order: 'desc' }); | ||
//=> cellophane([ | ||
@@ -720,3 +724,3 @@ // { foo: 3 }, | ||
Install via [npm](https://npmjs.com/): | ||
Install via [npm](https://npmjs.com): | ||
@@ -734,2 +738,2 @@ ```bash | ||
[MIT license](https://github.com/yuanqing/cellophane/blob/master/LICENSE) | ||
[MIT](https://github.com/yuanqing/cellophane/blob/master/LICENSE) |
71365
735