Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tv

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tv - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

images/tv-screenshot.png

4

lib/index.js

@@ -22,2 +22,3 @@ // Load modules

host: undefined,
authenticateEndpoint: false,
port: 0

@@ -40,2 +41,3 @@ };

config: {
auth: settings.authenticateEndpoint,
handler: {

@@ -96,3 +98,3 @@ directory: {

config: {
auth: false, // In case defaults are set otherwise
auth: settings.authenticateEndpoint,
handler: function (request, reply) {

@@ -99,0 +101,0 @@

{
"name": "tv",
"description": "Interactive debug console plugin for hapi",
"version": "4.0.0",
"version": "4.1.0",
"repository": "git://github.com/hapijs/tv",

@@ -6,0 +6,0 @@ "main": "index",

@@ -1,2 +0,2 @@

![tv Logo](https://raw.github.com/spumko/tv/master/images/tv.png)
![tv Logo](https://raw.github.com/hapijs/tv/master/images/tv.png)

@@ -11,3 +11,6 @@ TV is an interactive debug console plugin for [**hapi**](https://github.com/hapijs/hapi)

Here's what it looks like in action:
![TV interactive debug console](https://raw.github.com/hapijs/tv/master/images/tv-screenshot.png)
### Using TV in Your Application

@@ -44,1 +47,12 @@

- `template` - the name of the template to use for the debug console. Defaults to _index_.
- `authenticateEndpoint` - set this to true to use auth schemes for TVs main- and file delivering routes (defaults to false)
Below is an example of registering the tv plugin with some options:
```javascript
var options = {endpoint: '/awesome'};
server.register({register: Tv, options: options}, function (err) {
...
});
```
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