1.2.0 • Published 5 years ago

dump-routes-info v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

node-dump-routes-info

Node.js utility: dump routes information from config file

dump-routes-info -f /path/to/routes.yml
Table of Contents

Requirements

  • development on Node 11.6.0

Usage

CLI

$ dump-routes-info -f /path/to/routes.yml -e utf8

Example

  • /path/to/routes.yml
- name: index
  title: Home

- name: system
  entries:
  - name: config
    title: System Settings

  - name: misc
    entries:
    - name: i18n
      title: I18n Settings
$ dump-routes-info -f /path/to/routes.yml

{"info":{"path":"index","module":"Index"},"entry":{"name":"index","title":"Home"}}
{"info":{"path":"system/config","module":"System.Config"},"entry":{"name":"config","title":"System Settings"}}
{"info":{"path":"system/misc/i18n","module":"System.Misc.I18n"},"entry":{"name":"i18n","title":"I18n Settings"}}

Install

$ npm install --save-dev dump-routes-info

License

node-dump-routes-info is licensed under the MIT license.

Copyright © since 2018 shun@getto.systems

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago