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

22 lines (14 loc) 326 B
# babel-helpers > Collection of helper functions used by Babel transforms. ## Install ```sh npm install --save-dev babel-helpers ``` ## Usage ```js import * as helpers from 'babel-helpers'; import * as t from 'babel-types'; const typeofHelper = helpers.get('typeof'); t.isExpressionStatement(typeofHelper); // true ```