Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including takeapeek with all npm packages installed. Try it out:

takeapeek lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("takeapeek/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

takeapeek v0.2.2

A simple static webserver with only one command

takeapeek

NPM version Dependency Status

NPM

A simple static webserver with only one command. Heavily inspired by glance, this is really more of a learning experience then anything.

Install

You can install from npm

npm install -g takeapeek

Usage

--directory, -d     The directory to serve          [string]  [default: "."]
--index, -i         Show directory indexs           [boolean] [default: true]
--hidden            Show hidden files               [boolean] [default: false]
--port, -p          The port the serve on                     [default: 3141]
--content-text, -t  Serve all files with content-type of 'text/plain'
                                                    [boolean] [default: false]
--quiet, -q         Print nothing                   [boolean] [default: false]
--help, -h          Prints help

Config files

takeapeek will automaticly check .takeapeek.json and ~/.takeapeek.json.

License

This repo is licensed under the MIT license. See ./LICENSE for the full text.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free