# chapter-page

> make a theme-able community chapter page

Latest version **0.1.0** (published 2019-03-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install chapter-page
pnpm add chapter-page
yarn add chapter-page
bun add chapter-page
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-03-18 |
| First published | 2018-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | @serapath |
| Maintainers | serapath |
| Keywords | chapter, component, page, website, webpage |

## Links

- npm: https://www.npmjs.com/package/chapter-page
- Repository: https://github.com/serapath/chapter-page
- Homepage: https://github.com/serapath/chapter-page#readme
- Issues: https://github.com/serapath/chapter-page/issues
- npm.io page: https://npm.io/package/chapter-page

## Recent versions

- 0.1.0 (latest) — 2019-03-18
- 0.0.0 — 2018-11-07

## README

# chapter-page
make a theme-able community chapter page

# demo
https://serapath.github.io/chapter-page

# example
`npm install chapter-page`

```js
const chapterpage = require('chapter-page')

const colors = {
  color0: '#43409a', // darkBlue,
  color1: '#3022bb', // blue,
  color2: '#6f68ae', // lightBlue,
  color3: '#f989ff', // lightPink,
  color4: '#730d61', // darkPink,
  color5: '#080707', // black,
  color6: '#2e3f41', // grey,
  color7: '#f7da8b', // skinYellow,
  color8: '#ffffff', // white,
  color9: 'rgba(255, 255, 255, .0)',
}
const data = {
  title: 'Nashville',
  logo: 'assets/wizard3.png',
  home: 'http://wizardamigos.com/',
  tabs: [{
    title: 'workshop',
    url: 'https://slides.com/ninabreznik/deck-11-12-16/embed'
  }],
  chat: 'https://gitter.im/wizardamigosinstitute/program/~embed',
  chapters: [],
  place: 'Nashville - Schermerhorn Symphony Center',
  event: 'https://health.distributed.com/code-camp', // link to event page
  time: '2018.11.07-08:30am-04:30pm'
}

const { head, body } = chapterpage({ data, theme: { colors } })

document.head.innerHTML = head
document.body.innerHTML = body
```

---
_Source: https://npm.io/package/chapter-page · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
