JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17776
  • Score
    100M100P100Q198312F
  • License MIT

Voucher Code Generator

Package Exports

  • voucher-code-generator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (voucher-code-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Voucher Code Generator

Generate unique, hard to guess coupon codes.

This library originates from Voucherify.

Usage

Install with npm:

$ npm install --save voucher-code-generator

Include with require:

var voucher_codes = require('voucher-code-generator');

Generate codes of requested length:

voucher_codes.generate({
    length: 8
});

Sample result: B5xdYJn1