1.0.1 • Published 5 years ago

chance-ext v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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

1.0.1

5 years ago

1.0.0

7 years ago