UNPKG

luhn-generator

Version:

A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm

14 lines (13 loc) 322 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var minimist = require("minimist"); var argv = minimist(process.argv.slice(2), { string: ["project"], alias: { project: ["P"] } }); var project = argv && argv.project; exports.options = { cwd: project || process.cwd() };