Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makotot/assemble-index-json
assemble index generator
https://github.com/makotot/assemble-index-json
Last synced: 28 days ago
JSON representation
assemble index generator
- Host: GitHub
- URL: https://github.com/makotot/assemble-index-json
- Owner: makotot
- Created: 2015-07-06T09:24:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T07:39:12.000Z (about 9 years ago)
- Last Synced: 2024-10-10T19:01:42.338Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/assemble-index-json
- Size: 180 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# assemble-index-json
[![npm version](https://img.shields.io/npm/v/assemble-index-json.svg?style=flat-square)](https://github.com/makotot/assemble-index-json)
[![travis](http://img.shields.io/travis/makotot/assemble-index-json.svg?style=flat-square)](https://github.com/makotot/assemble-index-json)
[![dependencies](http://img.shields.io/david/makotot/assemble-index-json.svg?style=flat-square)](https://github.com/makotot/assemble-index-json)
[![devDependencies](http://img.shields.io/david/dev/makotot/assemble-index-json.svg?style=flat-square)](https://github.com/makotot/assemble-index-json)
[![License](http://img.shields.io/npm/l/assemble-index-json.svg?style=flat-square)](https://github.com/makotot/assemble-index-json)> assemble index generator
## Install
```
$ npm i --save-dev assemble-index-json
```## Register
```
assemble: {
options: {
plugins: ['assemble-index-json']
}
}
```## options
```
assemble: {
options: {
plugins: ['assemble-index-json'],
indexJson: {
jsonPath: './index.json',
availables: [
'title'
],
excludes: ['./src/pages/index.hbs']
}
}
}
```### jsonPath
Path to a json is generated from this plugin.
### availables
Data list that you want to retrieve from page data.
### excludes
Glob patterns of src files that you want to exclude from index.
## License
MIT