4.10.2 • Published 8 years ago

static-engine-sort v4.10.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

static-engine-sort

Dependency Status devDependency Status js-standard-style

This is a plugin for static-engine. Sorts the collection using the provided sort function.

var engine = require('static-engine')
var sort = require('static-engine-sort')
var pluginA = require('plugin-a')

engine([
  pluginA,
  sort(function (a, b) {
    if (a.property < b.property) {
      return -1
    }

    if (b.property < a.property) {
      return 1
    }

    return 0
  })
])
4.10.2

8 years ago

4.10.1

9 years ago

4.10.0

9 years ago

4.9.5

9 years ago

4.9.4

9 years ago

4.9.3

9 years ago

4.9.2

9 years ago

4.9.1

9 years ago

4.9.0

9 years ago

4.8.0

10 years ago

4.7.0

10 years ago

4.6.0

10 years ago

4.5.0

10 years ago

4.4.0

10 years ago

4.3.2

10 years ago

4.3.1

10 years ago

4.3.0

10 years ago

4.2.2

10 years ago

4.2.1

10 years ago

4.2.0

10 years ago

4.1.0

10 years ago

4.0.1

10 years ago

4.0.0

10 years ago

3.1.0

10 years ago

3.0.0

10 years ago

2.2.0

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

11 years ago