chance-ext

1.0.1 • Public • Published

chance-ext Build Status

A Chance.js mixin to generate file extensions.

Install

NPM

$ npm i chance-ext

Yarn

$ yarn add chance-ext

Usage

import Chance from 'chance';
import ext from 'chance-ext';
 
const chance = new Chance();
 
chance.mixin({
    ext
});
 
chance.ext();

By default, chance-ext will return a randomly generated file extension.

Example: .random

License

MIT © Michael Novotny

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i chance-ext

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.33 kB

Total Files

5

Last publish

Collaborators

  • manovotny