Socket
Socket
Sign inDemoInstall

london

Package Overview
Dependencies
64
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    london

maps all URL's for Hapi


Version published
Maintainers
1
Install size
29.7 kB
Created

Readme

Source

London

:uk:

npm version dependency Status devDependency Status download github download npm month license

London is a module for maps all URL's for Hapi.

Table of contents

Quick start

Several quick start options are available:

  • Clone the repo: git clone https://github.com/voudeonibus/London.git.
  • Install with npm: npm install london.

Starting

var london = require('london');
var Hapi = require('hapi');
var server = new Hapi.Server();
var path = require('path');

london({
  server: server,
  prefix_path: '/api',
  read_dir: path.join(__dirname, '/actions'),
  host: 'http://localhost',
  port: 8080
});

Options

  • server: server of Hapi
  • prefix_path: prefix for path on each URL
  • read_dir: dir where the Londo read each file as URL
  • host: host for route 'all_methods'
  • port port for router 'all_methods'

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, London is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to those rules whenever possible.

License

MIT

Keywords

FAQs

Last updated on 01 May 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc