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

    publicpublic

    public.js

    Run static file hosting server with specified public dir & port. Support a "direcotry index" like Apache httpd.

    Usage

    # install
    npm install -g public
    
    # start server 
    public
    Public.js server running with "/path/to/./" on port 3000
    
    # start server with option
    public test 3030
    Public.js server running with "/path/to/test" on port 3030
    

    Keywords

    none

    install

    npm i public

    Downloadsweekly downloads

    21

    version

    0.1.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar