Static site generator to create an Hub to organizing a set of NPM packages by keywords
HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.gitignore
Gruntfile.js
README.md
disqus.js
index.css
index.js
index.tmpl.html
labs-common.js
labs.analytics.js
labshub.json
license.txt
maps.tmpl.html
package.json
robots.txt

README.md

LabsHub

A static site generator to 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

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
grunt