1.0.6 • Published 7 years ago

acyort-processor v1.0.6

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

acyort-processor

Build Status codecov

Data Processor for AcyOrt

Install

$ npm i acyort-processor -S

Usage

const processor = require('acyort-processor')

const config = {
  "title": "acyort",
  "post_dir": "post",
  "category_dir": "category",
  "default_category": "uncategorized",
  "authors": ["LoeiFy"],
  "per_page": 2,
  "root": "/",
  "tag_dir": "tag"
}
const issues = [...issues] // data from github api

processor.call(config, issue)
  .then(res => console.log(res))
  .catch(err => console.error(err))

/*
{
  posts: [...],
  pages: [...],
  categories: [...],
  tags: [...],
  index: [...],
  category: {
    ...: [...]
  },
  tag: {
    ...: [...]
  }
}
more: https://acyort.com/docs/variables/
*/
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago