Socket
Socket
Sign inDemoInstall

@automattic/vip-go

Package Overview
Dependencies
Maintainers
17
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automattic/vip-go

Node package helpers for the VIP Go platform


Version published
Maintainers
17
Created
Source

VIP Go Node Helpers

This package provides modules to help run Node.js applications on VIP Go.

Install

npm install --save @automattic/vip-go

Modules

The following is a list of modules included in this package:

  • server: a server that wraps your request handler or express app behind an easy to use interface
  • logger: a ready to use logger for your node applications with Kibana integration out of the box
  • newrelic: New Relic integration for applications on VIP Go
  • redis: a helper library to instantiate a Redis client compatible with VIP Go

Usage

const { server, logger, newrelic, redis } = require( '@automattic/vip-go' );

Please refer the documentation for each module (server | logger | newrelic) | redis) to learn more about how to use it.

New Relic is no longer a peer dependency of this module. Please remember to install New Relic separately if your app requires it.

Development

Using hooks

For development, we have some hooks running before each commit/push. To use them, execute the following command inside the repo after cloning it:

git config core.hooksPath hooks

Running tests

To run tests locally, make sure the Docker container is up and running:

docker-compose up

FAQs

Package last updated on 26 Feb 2021

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