Add API to README

This commit is contained in:
Rafael Caricio 2014-09-07 15:59:27 +02:00
parent 2d149e2266
commit aa7f3494cf

View file

@ -40,6 +40,12 @@ Results in:
- `bower install gradient-parser`
- [download the zip](https://github.com/rafaelcaricio/gradient-parser/archive/master.zip)
## API
# gradient.parse
Accepts the gradient definitions as it is declared in the `background-image` and returns an AST `object`.
## License
(The MIT License)