An Assemble plugin to create a json file which can be used by javascript
Last updated 4 years ago by rparree .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install assemble-json-index 
SYNC missed versions from official npm registry.


Creates a simple json file from the pages including the URL and the data of the page. This can then be used by the sites's Javascript for example to add search functionality.


[{"url":"","data":{"title":"Shred pumpkin seeds with condensed milk","description":"All bung holes love jolly, evil grogs.","author":"Nagi Iman","date":"2016-10-03T00:00:00.000Z","update":"2016-10-16T00:00:00.000Z","layout":"default.hbs"}},{"url":"","data":{"title":"sour shredded loaf","description":"Jolly, never rob a pants.","author":"Nagi Iman"}}]



Type: String

Default: undefined

json file destination. If not set, fallback to page destination.


Type: Array ot String

Default: []

YAML Front Matter of a page properties to exclude from the json file

Usage Examples

See the included smoke test


Copyright © 2015 edc4it b.v. Released under the MIT license.

Current Tags

  • 0.0.2                                ...           latest (4 years ago)

2 Versions

  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © |