Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/manovotny/chance-dotfile
- Owner: manovotny
- License: mit
- Created: 2017-07-25T19:12:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T23:06:24.000Z (over 5 years ago)
- Last Synced: 2024-12-02T15:44:20.632Z (20 days ago)
- Topics: chance, chancejs, dotfile, mixin
- Language: JavaScript
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)