Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manovotny/chance-dotfile

A Chance.js mixin to generate a dotfile.
https://github.com/manovotny/chance-dotfile

chance chancejs dotfile mixin

Last synced: 12 days ago
JSON representation

A Chance.js mixin to generate a dotfile.

Awesome Lists containing this project

README

        

# chance-dotfile [![Build Status](https://travis-ci.org/manovotny/chance-dotfile.svg?branch=master)](https://travis-ci.org/manovotny/chance-dotfile)

> A [Chance.js mixin](http://chancejs.com/#mixin) to generate a dotfile.

## Install

### NPM

```
$ npm i chance-dotfile
```

### Yarn

```
$ yarn add chance-dotfile
```

## Usage

```js
import Chance from 'chance';
import dotfile from 'chance-dotfile';

const chance = new Chance();

chance.mixin({
dotfile
});

chance.dotfile();
```

By default, `chance-dotfile` will return a randomly generated a dotfile.

Example: `.random`

## License

MIT © [Michael Novotny](http://manovotny.com)