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

@philips-software/crocs-api

Package Overview
Dependencies
Maintainers
8
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@philips-software/crocs-api

Crocs API service

  • 0.1.1
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-63.64%
Maintainers
8
Weekly downloads
 
Created
Source

Crocs API

Crocs service access point

Installation

First create a folder where you want your service api to be installed. Then install the service as follows:

$ mkdir crocs-api
$ cd crocs-api
$ yarn add @philips-software/crocs-api
$ yarn setup

Usage

To directly run the service, use:

./node_modules/.bin/crocs-api

With PM2

You can take of advantage of pm2 to start the api service. Make sure you have pm2 installed globally:

$ yarn global add pm2

and ensure it is in $PATH:

export PATH=$PATH:/home/pi/.yarn/bin

Start service

$ pm2 start ecosystem.config.js

List all services

$ pm2 list

Settings on a service

$ pm2 show crocs-api

Logs

To show both stdout and stderr logs run:

$ pm2 logs crocs-api

This shows all the logs of crocs-api and outputs the last 15 lines (the default).

To see only standard output logs, and print more lines from the output use:

$ pm2 logs crocs-api --out --lines 150

Restart process after editing ecosystem

$ pm2 delete ecosystem.config.js
$ pm2 start ecosystem.config.js

Debug application from this directory

$ ./index.js

Keywords

FAQs

Package last updated on 02 Apr 2020

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