🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ag-file-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-file-server

Shortcut for: agraddy.http.server.file

2.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

agraddy.http.server.file

A simple file server.

MIT License

Install

npm install agraddy.http.server.file

Or the shortcut version:

npm install ag-file-server

Use

var file = require('agraddy.http.server.file');
// Or the shortcut version
//var file = require('ag-file-server');
var server;

server = file('location_of_file/example.htm');

server.listen(8080);

Todo

  • Create an example directory with the above example (include step-by-step instructions from scratch and include assumptions).
  • Explain how the test is setup

FAQ

Why dot notation instead of using scope or dashes?

It is just a personal preference. In my opinion, dots look clean and simple.

FAQs

Package last updated on 31 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts