Create box-shadow images & animations

Installation
Using npm:
$ npm install box-shadow-pixels
box-shadow-pixels
?
Why box-shadow
CSS property allow us to draw a shadow around an element. We can go further and represent an image applying colors with different coordinates...and if we decide to go even further we could create animations using @keyframes
.
Origins
This library has been part of the core of pixelartcss, for the sake of keeping everything more modular, this part has been extracted from the main repository. However the library is meant to be generic and useful for other projects as well.
How to use it
The library has a simple API and every method is documented. We basically need a grid or a collection of them together with few options such as the size of the pixel, the duration of the animation, etc. Being able to get a ready to go CSS class:
or
@255075}
Related links
License
MIT Copyright © 2018 Javier Valencia Romero (@jvalen)