labshub

0.7.5 • Public • Published

LabsHub

A static site generator for create an Hub to organizing a set of NPM packages by keywords

LabsHub generate automatically a nice and simple user interface that shows projects including their name, description and allows you to search through the keywords defined in each package.json files.

Demo

labshub

Usage

Copy or linking projects directories inside root path

cp -r /var/www/my-npm-projects/* ./

LabsHub allows you to centrally manage all of npm projects(contains package.json file) deployed in your website through a single configuration file(labshub.json). Edit labshub.json adding details about npm packages inside the root directory.

{
  "pages": {
    "index.tmpl.html": "index.html",
    "maps.tmpl.html": "maps/index.html"
  },
  "pageOut": "index.html",
  "pageTmpl": "index.tmpl.html",
  "packagesIgnore": [
    "**/node_modules/**",
    "hidden-project"
  ],
  "packages": {
    "package-dir-name": {
      "name": "package name override package.json name",
      "keywords": ["bootstrap","jquery","css3"],
      "rank": 2
    },
    ...

generate index.html

npm i
npm run build

/labshub/

    Package Sidebar

    Install

    npm i labshub

    Weekly Downloads

    2

    Version

    0.7.5

    License

    MIT

    Unpacked Size

    40 kB

    Total Files

    13

    Last publish

    Collaborators

    • stefcud