val-token
v1.0.0
Published
Validate coupons.
Downloads
6
Readme
valToken
Module that verifies that a coupon code is valid and is not expired.
Installation
$ npm install val-token
Example
const valToken = require("./index");
const checkCoupon = valToken('123','123','September 5, 2014','October 1, 2014');
console.log(checkCoupon); // true...