From ecd6bccd527ea0f5091a2efb14eb5173caddff27 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Wed, 31 Oct 2018 02:39:54 -0700 Subject: Add readme and license --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..55603e8 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# Identicons + +A tiny implementation of +[identicons](https://en.wikipedia.org/wiki/Identicon), similar to the +ones used by GitHub for new avatars. + +## Dependencies + +This library is totally self-contained, there are no 3rd party +dependencies. It is built and published for Scala on JVM, JS and +Native. + +```sbt +"io.crashbox" %%% "identicon" % "" +``` + +## Usage + +```scala +// generate identicon for user "admin" in SVG form +identicon.svg("admin") // =