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

parse-app-info

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-app-info

Parse information about a Node application process and its environment. Made for Cabin.

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.1K
increased by6.05%
Maintainers
2
Weekly downloads
 
Created
Source

parse-app-info

build status code coverage code style styled with prettier made with lass license

Parse information about a Node application process and its environment. Made for Cabin.

Table of Contents

Install

npm:

npm install parse-app-info

yarn:

yarn add parse-app-info

Usage

const parseAppInfo = require('parse-app-info');

const appInfo = parseAppInfo();

Available info

PropertyDescription
environmentThe value of NODE_ENV
hostnameName of the computer
nameName of the app from package.json
nodeVersion if node.js running the app
pidProcess ID as in process.pid
versionVersion of the app package.json

Additional properties when the app is in a git repository

PropertyDescription
hashgit hash of latest commit if the app
tagthe latest git tag. Property is not available when there is no tag

Contributors

NameWebsite
Nick Baughhttps://niftylettuce.com
Philipp Kursawehttps://pke.github.io

License

MIT © Philipp Kursawe

Keywords

FAQs

Package last updated on 26 Jun 2019

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