6.14.2 • Published 7 years ago

static-engine-defaults v6.14.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

static-engine-defaults

Dependency Status devDependency Status js-standard-style

This is a plugin for static-engine. Reads default properties from a file and then uses object-assign to apply them to the existing objects. It should not overwrite existing properties but should set ones that don't exist. Call it with the path to the file and a converter for the content like JSON.parse.

var engine = require('static-engine')
var defaults = require('static-engine-defaults')
var cson = require('cson-parser')
var pluginA = require('plugin-a')

engine([
  pluginA,
  defaults('./content/defaults.cson', cson.parse)
])
6.14.2

7 years ago

6.14.1

7 years ago

6.14.0

7 years ago

6.13.5

8 years ago

6.13.4

8 years ago

6.13.3

8 years ago

6.13.2

8 years ago

6.13.1

8 years ago

6.13.0

8 years ago

6.12.0

8 years ago

6.11.0

8 years ago

6.10.0

9 years ago

6.9.0

9 years ago

6.8.0

9 years ago

6.7.0

9 years ago

6.6.1

9 years ago

6.6.0

9 years ago

6.5.0

9 years ago

6.4.0

9 years ago

6.3.2

9 years ago

6.3.1

9 years ago

6.3.0

9 years ago

6.2.0

9 years ago

6.1.2

9 years ago

6.1.1

9 years ago

6.1.0

9 years ago

6.0.0

9 years ago

5.3.0

9 years ago

5.2.2

9 years ago

5.2.1

9 years ago

5.2.0

9 years ago

5.1.0

9 years ago

5.0.1

9 years ago

5.0.0

9 years ago

4.2.0

9 years ago

4.1.0

9 years ago

4.0.0

9 years ago

3.2.0

9 years ago

3.1.0

10 years ago

3.0.0

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.0.0

10 years ago