Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    showcasepublic

      _________.__
     /   _____/|  |__   ______  _  __ ____ _____    ______ ____
     \_____  \ |  |  \ /  _ \ \/ \/ // ___\\__  \  /  ___// __ \
     /        \|   Y  (  <_> )     /\  \___ / __ \_\___ \\  ___/
    /_______  /|___|  /\____/ \/\_/  \___  >____  /____  >\___  >
            \/      \/                   \/     \/     \/     \/
    
              Bad-ass infrastructure for javascript libraries.
    

    How to use

    Well configured express server for documentation, tests and so on

    It uses express, so you can extend it as you like. Check default configuration

    app = require('showcase').app(__dirname)
    app.get '/'(req, res) ->
      res.render 'examples/index'
     
    app.start()

    Easy authentication with github

    app = require('showcase').app(__dirname)
    app.configure 'production' ->
      app.set('github-client-id''id')
      app.set('github-client-secret''secret')

    Generate documentation with docco

    docco = require('showcase').docco
    docco(files: '/src/*'output: '/public/docs'root: __dirnamelayout: 'linear')

    Keywords

    none

    install

    npm i showcase

    Downloadsweekly downloads

    71

    version

    0.4.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar