Skip to content

fenglang0203/tps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPS

TPS is a cli for tps.tms.taobao.com, and can only be used in company or with vpn.

Install

$ npm install tps -g

Usage

in command line

$ tps a.jpg
$ tps a.jpg b.jpg

in node

// upload single image
var tps = require('tps');
tps('a.jpg', function(e, url) {
  console.log(url);
});
// upload multiple images
var tps = require('tps');
tps(['a.jpg', 'b.jpg'], function(e, urls) {
  console.log(urls.join('\n'));
});

LISENCE

(MIT License)

Copyright (c) 2014 ChenCheng sorrycc@gmail.com

About

cli for tps.tms.taobao.com

Resources

Stars

Watchers

Forks

Packages

No packages published