Catalog npm
PACKAGE EXPLORERView in registry

12306-cli

npm

command line tools for 12306.cn

12306
Versions collected9
Direct dependencies5From release 0.4.1
Last observed20 Oct, 18:08 UTC

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 9

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.1Registry latest2 May 20175
0.4.01 Sept 20165
0.3.11 Sept 20165
0.3.01 Sept 20165
0.2.31 Sept 20165
0.2.231 Aug 20165
0.2.131 Aug 20165
0.2.031 Aug 20165
0.1.031 Aug 20160

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
lpgray/12306-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c73cd138aec9f9a61bd164f42bcdea7990afcd241c9b634e9841a711b05f05c5