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

pnr-stat

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pnr-stat

This script is analysing the database records to extract some statistics

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

PNR-Stat

This script is analysing the database records to extract some statistics

Information

  • Number of passengers per PNR
  • Number of segments per PNR
  • Number of services per PNR
--------------------------------------
 PASSENGER PER PNR
--------------------------------------
1099 _______      _________________________________________________________
1014 _______      _________________________________________________________
 930 _______      _________________________________________________________
 845 _______      _________________________________________________________
 761 _______      _________________________________________________________
 676 _______      _________________________________________________________
 592 _______      _      __________________________________________________
 507 _______      _      __________________________________________________
 423 _______      _      __________________________________________________
 338 _______      _      __________________________________________________
 254 _______      _      __________________________________________________
 169 _______      _      __________________________________________________
  85 _______      _      _▄▄▄▄▄▄_▄▄▄▄▄▄____________________________________
   0 _______      _      _      _      ____________________________________
     0      1      2      3      4      5      6      7      8      9

How to install

npm install pnr-stats -g

How to use

pnr-stats --db=mongodb://LOGIN:PASSWORD@IP:PORT/DATABASE

Options

  • --limit: max number of record to analyse by default 2000
  • --query: json mongo style query by default {}
  • --output: output in the console as CSV or by default BAR

FAQs

Package last updated on 03 May 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