node package manager

fastur

Fastur - Ecommerce & Recurring Billing

Fastur is designed to be the fastest solution for building products. It supports ecommerce and recurring billing.

const fastur = require('fastur');
fastur('package function');
 
//app is live! 

Table of contents


Pages

  • You can stream any response to a file stream.
fastur('request url file_name');
fastur('request http://google.com/doodle.png doodles.gif');
  • You can also stream a file to a PUT or POST request.
fastur('request file_name url');
 
fs.createReadStream('file.json').pipe(request.put('http://mysite.com/obj.json'))
  • Request can also pipe to itself.
fastur('request url url');
request.get('http://google.com/img.png').pipe(request.put('http://mysite.com/img.png'))
  • Annotations
fastur('annotate');
fastur('annotate detection_type detection_type');
 
Not Specifying a detection_type will run all detection types. You can choose to specify one or more detection type.
 
[FACE_DETECTION, LABEL_DETECTION, LANDMARK_DETECTION, LOGO_DETECTION, LABEL_DETECTION, TEXT_DETECTION, DOCUMENT_TEXT_DETECTION, SAFE_SEARCH_DETECTION, IMAGE_PROPERTIES, CROP_HINTS, WEB_DETECTION]
  • Transformations
fastur('transform');
fastur('transform resize source target size_width');
fastur('transform crop source target size_width size_height gravity');
 
[resize source target]

Ecommerce

  • Products
fastur('request url url');
request.get('http://google.com/img.png').pipe(request.put('http://mysite.com/img.png'))
  • Payments
fastur('charge create amount currency description');
fastur('charge charge_id');
  • Invoices
fastur('invoice create customer_id amount currency description');

Recurring Billing

  • Plans
fastur('plans list limit');
fastur('plans create name interval amount currency');
 
  • Subscribing a member
fastur('subscriptions create customer_id plan quantity');

Shipping

  • Direction / Duration
  • Rides
  • Labels

Community

users are stored at https://01234567890/firebaseio.com/user/' + customer_id + '.json' 
  • Creating a user account
Fastur('user name@host.tld');
  • Storing / Retrieving Passwords
 Fastur('user name@host.tld  password');
  • Tweet
  • Email
  • Direct Message