@neoblog/plugin-control-panel

0.1.2 • Public • Published

neoblog-plugin-control-panel

npm

Article/config management panel for neoblog, written in Elm .

Features

  • Article
    • [x] list
    • [x] create
    • [x] modify
    • [ ] delete
    • [ ] group by tags
  • Config
    • [ ] read
    • [ ] write
    • [ ] lint

Usage

Install @neoblog/plugin-control-panel with npm, and see config example at config.js .

Once plugin was installed, you can login at /control/panel .

Plugin Options

new PluginControlPanel(options: IPluginOptions);

interface IPluginOptions {
    usr: string;        // login username
    pwd: string;        // login password
    jwtSecret: string;  // JSON Web Token secret
    jwtOptions?: any;   // jsonwebtoken sign options (see below)
}

jwtOptions default to { expiresIn: '2d' }. Learn more here for infomation about Jwt options.

Readme

Keywords

Package Sidebar

Install

npm i @neoblog/plugin-control-panel

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

171 kB

Total Files

19

Last publish

Collaborators

  • neoblog-the-owner
  • rocka