litejs

@version    0.1.4
@date       2014-09-20
@stability  2 - Unstable

Liquid Filters – Build Coverage

Standard Filters for liquid-lite extending native prototypes.

Currently supported filters

-   **capitalize** - capitalize words in the input sentence
-   **downcase** - convert an input string to lowercase
-   **upcase** - convert an input string to uppercase
-   **first** - get the first element of the passed in array
-   **last** - get the last element of the passed in array
-   **join** - join elements of the array with certain character between them.
    `Native in javascript`
-   **sort** - sort elements of the array
    `Native in javascript`
-   **size** - return the size of an array or string
-   **replace** - replace the first or each occurrence. 
    `Native in javascript`
    ```javascript

    {{ 'foofoo' | replace:'foo','bar' }} #=> 'barfoo'
    {{ 'foofoo' | replace:/foo/g,'bar' }} #=> 'barbar'

Todo

Browser Support

browser support

Licence

Copyright (c) 2012 Lauri Rooden <[email protected]>
The MIT License

Fork me on GitHub

Since 2013 to 2015