🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

12306-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

12306-cli

command line tools for 12306.cn

0.4.1
latest
Source
npm
Version published
Weekly downloads
3
-78.57%
Maintainers
1
Weekly downloads
 
Created
Source

12306-cli

NPM Version

看到网上有个小伙伴用 python 实现了一款火车票查询工具,因此萌生了用 JavaScript 实现的冲动。此工具在 osx 下开发,windows 尚未测试。

用到的工具

  • chalk - 命令行字体加色
  • request - http client
  • commander - 命令行程序框架
  • columnify - 命令行表格格式化工具

安装

> npm i -g 12306-cli

使用说明

帮助

> 12306 query -h

查询车票

> 12306 query hangzhou xuzhou 2016-09-20

> 12306 query 杭州 徐州 2016-09-20

只看高铁

> 12306 query hangzhou xuzhou 2016-09-20 --gaotie

Keywords

12306

FAQs

Package last updated on 02 May 2017

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