Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johno/identicon-svg
[WIP] Generate svg identicons
https://github.com/johno/identicon-svg
Last synced: 2 months ago
JSON representation
[WIP] Generate svg identicons
- Host: GitHub
- URL: https://github.com/johno/identicon-svg
- Owner: johno
- License: mit
- Created: 2015-06-23T21:43:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-29T23:01:28.000Z (over 9 years ago)
- Last Synced: 2024-10-19T17:49:42.388Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 92.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# identicon-svg [![Build Status](https://secure.travis-ci.org/johnotander/identicon-svg.png?branch=master)](https://travis-ci.org/johnotander/identicon-svg)
Generate svg identicons
## TODO
- [X] Generate a basic proof of concept
- [ ] Use a string to generate the identicon (ensuring the same result for future calls with said string)
- [ ] Package this nicely
- [ ] Document all the things
- [ ] Demo site
- [ ] Tests## Installation
```bash
npm install --save identicon-svg
```## Usage
```javascript
var identiconSvg = require('identicon-svg');identiconSvg('[email protected]'); // => ""
```### Options
* `size` an integer representing the size of the desired identicon svg, default: `120`
* `colors` an array of possible colors for the identicon svg, default: any### Development
`npm run build && npm run open`
## Acknowledgements
Couldn't have been done with the awesome [React Icons article](http://jxnblk.com/react-icons/) by [@jxnblk](https://twitter.com/jxnblk)
## License
MIT
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).
***
> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).