New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc